File tree Expand file tree Collapse file tree 7 files changed +226
-1
lines changed
Expand file tree Collapse file tree 7 files changed +226
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # perl ${PREFIX}/bin/cpanm App::Cmd
4+ # perl Makefile.PL
5+ # make
6+ # make test
7+ # make install
8+ # PERL_MM_USE_DEFAULT=1 -> automatically answer "yes" on config questions
9+ PERL_MM_USE_DEFAULT=1 cpan App::cpanminus
10+ PERL5LIB=" " PERL_LOCAL_LIB_ROOT=" " PERL_MM_OPT=" " PERL_MB_OPT=" " perl ${BUILD_PREFIX} /bin/cpanm --installdeps .
11+ perl Makefile.PL INSTALLDIRS=site
12+ make
13+ make install
Original file line number Diff line number Diff line change 1+ # conda env create -f conda_environment_HMMER2GO.yml
2+ name : hmmer2go
3+ channels :
4+ - conda-forge
5+ - bioconda
6+ - defaults
7+
8+ dependencies :
9+
10+ - perl >=5.8
11+ - perl-bioperl >=1.7
12+ - perl-clone
13+ - perl-extutils-makemaker
14+ - perl-graph
15+ - perl-lwp-simple
16+ - perl-lwp-protocol-https
17+ - perl-json
18+ - perl-carp
19+ - perl-sort-naturally
20+ - perl-list-moreutils
21+ - perl-file-share
22+ - perl-file-sharedir-install
23+ - perl-term-progressbar
24+ - perl-moose
25+ - libdb
Original file line number Diff line number Diff line change 1+ perl-ipc-system-simple
2+ perl-app-cmd
3+ perl-io-uncompress-gunzip
4+ perl-io-uncompress-bunzip2
5+ perl-io-compress-gzip
6+ perl-io-compress-bzip2
7+ perl-file-copy
8+ perl-capture-tiny
9+ perl-net-ssleay
10+ perl-io-socket-ssl
11+ perl-http-tiny
12+ perl-xml-libxml
13+ perl-html-tableextract
14+ perl-bio-db-taxonomy-entrez
Original file line number Diff line number Diff line change 1+ {% set name = "HMMER2GO" %}
2+ {% set version = "0.18.2" %}
3+
4+ package :
5+ name : {{ name|lower }}
6+ version : {{ version }}
7+
8+ source :
9+ git_url : https://github.com/sestaton/HMMER2GO.git
10+ git_tag : v{{ version }}
11+
12+ requirements :
13+ host :
14+ - zlib
15+ - libxml2
16+ - openssl
17+ - perl >=5.32
18+ - perl-bioperl >=1.7.8
19+ - perl-app-cmd
20+ - perl-io-uncompress-gunzip
21+ - perl-io-uncompress-bunzip2
22+ - perl-capture-tiny
23+ - perl-net-ssleay
24+ - perl-io-socket-ssl
25+ - perl-http-tiny
26+ - perl-xml-libxml
27+ - perl-html-tableextract
28+ - emboss
29+ - hmmer>=3
30+ build :
31+ - make
32+ - perl >=5.32
33+ run :
34+ - perl >=5.32
35+ - perl-bioperl >=1.7.8
36+ - perl-app-cmd
37+ - perl-io-uncompress-gunzip
38+ - perl-io-uncompress-bunzip2
39+ - perl-capture-tiny
40+ - perl-net-ssleay
41+ - perl-io-socket-ssl
42+ - perl-http-tiny
43+ - perl-xml-libxml
44+ - perl-html-tableextract
45+ - emboss
46+ - hmmer>=3
47+
48+ test :
49+ source_files :
50+ - t/test_data
51+
52+ about :
53+ home : https://github.com/sestaton/HMMER2GO
54+ license : MIT
55+ license_file : LICENSE
56+ summary : ' Annotate DNA sequences for Gene Ontology terms'
57+ dev_url : https://github.com/sestaton/HMMER2GO
58+ doc_url : https://github.com/sestaton/HMMER2GO/wiki
59+
60+ extra :
61+ maintainers :
62+ - Frédéric Chevalier
63+ - S. Evan Staton
Original file line number Diff line number Diff line change 1+ {% set name = "HMMER2GO" %}
2+ {% set version = "0.18.3" %}
3+
4+ package:
5+ name: {{ name|lower }}
6+ version: {{ version }}
7+
8+ source:
9+ git_url: https://github.com/sestaton/HMMER2GO.git
10+ git_tag: v{{ version }}
11+
12+ requirements:
13+ host:
14+ - zlib
15+ - libxml2
16+ - openssl
17+
18+ build:
19+ - make
20+ - perl >=5.32
21+
22+ run:
23+ - perl >=5.32
24+ - perl-bioperl >=1.7.8
25+ - perl-app-cmd
26+ - perl-io-uncompress-gunzip
27+ - perl-io-uncompress-bunzip2
28+ - perl-io-compress-gzip
29+ - perl-io-compress-bzip2
30+ - perl-file-copy
31+ - perl-capture-tiny
32+ - perl-net-ssleay
33+ - perl-io-socket-ssl
34+ - perl-http-tiny
35+ - perl-xml-libxml
36+ - perl-html-tableextract
37+ - perl-bio-db-taxonomy-entrez
38+ - emboss
39+ - hmmer>=3
40+
41+ test:
42+ source_files:
43+ - t/test_data
44+
45+ about:
46+ home: https://github.com/sestaton/HMMER2GO
47+ license: MIT
48+ license_file: LICENSE
49+ summary: 'Annotate DNA sequences for Gene Ontology terms'
50+ dev_url: https://github.com/sestaton/HMMER2GO
51+ doc_url: https://github.com/sestaton/HMMER2GO/wiki
52+
53+ extra:
54+ maintainers:
55+ - Frédéric Chevalier
56+ - S. Evan Staton
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+
4+ # ===========#
5+ # Variables #
6+ # ===========#
7+
8+ # Test data directory
9+ dir=" t/test_data/"
10+
11+ # Pfam file
12+ pfam2go=" $dir /pfam2go"
13+
14+ # Fasta files
15+ infile=" $dir /t_seqs_nt_gz.fas.gz"
16+ outorf=" $dir /outfile_all"
17+
18+ # HMM related files
19+ file=Pfam-A.hmm.gz
20+ outfile=ftp.ebi.ac.uk//pub/databases/Pfam/current_release/$file
21+ db=" $dir /Pfam-A.hmm"
22+
23+ # Run related variables
24+ outfile=" $dir /t_orfs_long_Pfam-A.out"
25+ domtblout=" $dir /t_orfs_long_Pfam-A.domtblout"
26+ tblout=" $dir /t_orfs_long_Pfam-A.tblout"
27+
28+
29+ # ======#
30+ # Test #
31+ # ======#
32+
33+ # List command
34+ hmmer2go commands
35+
36+ # Fetch map
37+ hmmer2go fetchmap -o " $pfam2go "
38+
39+ # Get ORF
40+ hmmer2go getorf -i " $infile " -o " $outorf " -t 0 -a
41+ [[ $( grep -c " >" " $outorf " ) -eq 172 ]]
42+
43+ # # Run hmmpress
44+ # # Note: this step downloads the database and uncompresses it. Downloading can be done with either wget or curl but none of them are installed by default and variation between systems exists. It is probably better to not mess with this to avoid failing the test. Alternatively wget or curl could be a dependency.
45+ # wget ftp://$outfile
46+ # gunzip -c "$file" > "$flatdb"
47+ # hmmpress $db
48+
49+ # # Run run
50+ # # Note: this step depends on database generated by hmmpress
51+ # hmmer2go run -i $infile -d $db -o $tblout
52+
53+
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ requires 'IO::Socket::SSL';
1111requires ' HTTP::Tiny' ;
1212requires ' XML::LibXML' ;
1313requires ' HTML::TableExtract' ;
14- requires ' Bio::DB::Taxonomy::entrez' ;
14+ requires ' Bio::DB::Taxonomy::entrez' ;
15+
You can’t perform that action at this time.
0 commit comments