Mercurial > repos > drosofff > fetch_fasta_from_ncbi
annotate retrieve_fasta_from_NCBI.xml @ 3:a9d8f69d59fb draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
author | drosofff |
---|---|
date | Wed, 09 Nov 2016 11:27:31 -0500 |
parents | befdb392fece |
children | 64f45c5e94a0 |
rev | line source |
---|---|
2
befdb392fece
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit fae2061eadac000cdb408d0db76226620c8860a6
drosofff
parents:
1
diff
changeset
|
1 <tool id="retrieve_fasta_from_NCBI" name="Retrieve FASTA from NCBI" version="0.9.4"> |
0
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
2 <description></description> |
3
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
3 <command><![CDATA[ |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
4 python '$__tool_directory__'/retrieve_fasta_from_NCBI.py |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
5 -i "$queryString" |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
6 -d $dbname |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
7 -o '$outfilename' |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
8 -l '$logfile' |
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
9 ]]></command> |
0
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
10 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
11 <inputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
12 <param name="queryString" type="text" size="5x80" area="True" value="txid10239[orgn] NOT txid131567[orgn] AND complete[all] NOT partial[title] NOT phage[title]" label="Query to NCBI in entrez format" help="exemple:'Drosophila melanogaster[Organism] AND Gcn5[Title]"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
13 <sanitizer> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
14 <valid initial="string.printable"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
15 <remove value="""/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
16 <remove value="\"/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
17 </valid> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
18 <mapping initial="none"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
19 <add source=""" target="\""/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
20 <add source="\" target="\\"/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
21 </mapping> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
22 </sanitizer> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
23 </param> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
24 <param name="dbname" type="select" label="NCBI database"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
25 <option value="nuccore">Nucleotide</option> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
26 <option value="protein">Protein</option> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
27 </param> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
28 </inputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
29 <outputs> |
2
befdb392fece
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit fae2061eadac000cdb408d0db76226620c8860a6
drosofff
parents:
1
diff
changeset
|
30 <data name="outfilename" format="fasta" label="${tool.name} (${dbname.value_label}) with queryString '${queryString.value}'" /> |
befdb392fece
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit fae2061eadac000cdb408d0db76226620c8860a6
drosofff
parents:
1
diff
changeset
|
31 <data format="txt" name="logfile" label="${tool.name}: log"/> |
0
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
32 </outputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
33 <tests> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
34 <test> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
35 <param name="queryString" value="9629650[gi]" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
36 <param name="dbname" value="nuccore" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
37 <output name="outfilename" ftype="fasta" file="output.fa" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
38 <!-- <output name="logfile" ftype="txt" file="log.txt" /> log.txt changes with timestamp. removed to pass the test --> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
39 </test> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
40 </tests> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
41 <help> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
42 **What it does** |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
43 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
44 This tool retrieves nucleotide/peptide sequences from the corresponding NCBI database for a given entrez query. |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
45 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
46 The tool is preset with "txid10239[orgn] NOT txid131567[orgn] AND complete NOT partial[title] NOT phage[title]" for metaVisitor use purpose |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
47 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
48 See `Entrez help`_ for explanation of query formats |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
49 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
50 Be sure to use the appropriate NCBI query syntax. Always use [] to specify the search fields. |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
51 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
52 Note that the tool may fail in case of interrupted connexion with the NCBI database (see the log dataset) |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
53 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
54 **Acknowledgments** |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
55 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
56 This Galaxy tool has been adapted from the galaxy tool `get_fasta_from_taxon`_. |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
57 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
58 It is Copyright © 2014-2015 `CNRS and University Pierre et Marie Curie`_ and is released under the `MIT license`_. |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
59 |
3
a9d8f69d59fb
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
60 .. _Entrez help: https://www.ncbi.nlm.nih.gov/books/NBK3837/#EntrezHelp.Entrez_Searching_Options |
0
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
61 .. _get_fasta_from_taxon: https://toolshed.g2.bx.psu.edu/view/crs4/get_fasta_from_taxon |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
62 .. _CNRS and University Pierre et Marie Curie: http://www.ibps.upmc.fr/en |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
63 .. _MIT license: http://opensource.org/licenses/MIT |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
64 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
65 </help> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
66 <citations> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
67 <citation type="doi">10.1186/1471-2105-14-73</citation> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
68 </citations> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
69 </tool> |