Skip to content

Commit

Permalink
Add HIVIntact analysis, for #10.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Jul 24, 2021
1 parent b3771be commit 548cea6
Show file tree
Hide file tree
Showing 8 changed files with 212 additions and 63 deletions.
5 changes: 3 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ name = "pypi"

[packages]
gotoh = {subdirectory = "micall/alignment", ref = "v7.7.0", git = "https://github.com/cfe-lab/MiCall.git"}
numpy = "==1.18.4"
numpy = "==1.20.3"
python-levenshtein = "==0.12.0"
pandas = "==1.0.5"
pandas = "==1.2.5"
requests = "==2.25.1"
pyyaml = "*"
intactness-pipeline = {ref = "f5abe2834b72458ccb1a7ce5dbf52dcf108cb518", git = "ssh://[email protected]/ramics/HIVIntact.git"}

[dev-packages]
pytest = "*"
Expand Down
174 changes: 127 additions & 47 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ From: centos:7
yum install -q -y epel-release
yum install -q -y unzip wget fontconfig bzip2-devel xz-devel openssl-devel libffi-devel

echo ===== Installing MAFFT ===== >/dev/null
wget -q https://mafft.cbrc.jp/alignment/software/mafft-7.486-gcc_fc6.x86_64.rpm
rpm -Uvh mafft*.rpm
rm mafft*.rpm

echo ===== Installing Python ===== >/dev/null
wget -q https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tar.xz
tar xJf Python*
Expand All @@ -51,6 +56,7 @@ From: centos:7
wget -q https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
rm get-pip.py
pip install git+git://github.com/ramics/HIVIntact.git@f5abe2834b72458ccb1a7ce5dbf52dcf108cb518
cd /opt/primer_finder
pip install .

Expand Down Expand Up @@ -90,3 +96,17 @@ From: centos:7

%runscript
gene_splicer_sample --hivseqinr /opt/hivseqinr "$@"

%apprun hivintact
gene_splicer_sample --hivintact "$@"

%apphelp hivintact
Search proviral consensus sequences for primers, then use HIVIntact to
decide if the genomes are complete.

%applabels hivintact
KIVE_INPUTS sample_info_csv contigs_csv conseqs_csv cascade_csv
KIVE_OUTPUTS outcome_summary_csv conseqs_primers_csv contigs_primers_csv \
table_precursor_csv hivintact_results_tar
KIVE_THREADS 1
KIVE_MEMORY 200
Loading

0 comments on commit 548cea6

Please sign in to comment.