Mercurial > repos > drosofff > fetch_fasta_from_ncbi
annotate retrieve_fasta_from_NCBI.xml @ 2:befdb392fece draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/fetch_fasta_from_ncbi commit fae2061eadac000cdb408d0db76226620c8860a6
author | drosofff |
---|---|
date | Tue, 05 Jan 2016 10:06:42 -0500 |
parents | 79cb7620843d |
children | a9d8f69d59fb |
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> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
3 <command interpreter="python">retrieve_fasta_from_NCBI.py -i "$queryString" -d $dbname -o $outfilename -l $logfile </command> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
4 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
5 <inputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
6 <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
|
7 <sanitizer> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
8 <valid initial="string.printable"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
9 <remove value="""/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
10 <remove value="\"/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
11 </valid> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
12 <mapping initial="none"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
13 <add source=""" target="\""/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
14 <add source="\" target="\\"/> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
15 </mapping> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
16 </sanitizer> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
17 </param> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
18 <param name="dbname" type="select" label="NCBI database"> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
19 <option value="nuccore">Nucleotide</option> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
20 <option value="protein">Protein</option> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
21 </param> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
22 </inputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
23 <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
|
24 <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
|
25 <data format="txt" name="logfile" label="${tool.name}: log"/> |
0
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
26 </outputs> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
27 <tests> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
28 <test> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
29 <param name="queryString" value="9629650[gi]" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
30 <param name="dbname" value="nuccore" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
31 <output name="outfilename" ftype="fasta" file="output.fa" /> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
32 <!-- <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
|
33 </test> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
34 </tests> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
35 <help> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
36 **What it does** |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
37 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
38 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
|
39 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
40 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
|
41 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
42 See `Entrez help`_ for explanation of query formats |
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 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
|
45 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
46 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
|
47 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
48 **Acknowledgments** |
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 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
|
51 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
52 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
|
53 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
54 .. _Entrez help: http://www.ncbi.nlm.nih.gov/books/NBK3837/#EntrezHelp.Entrez_Searching_Options |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
55 .. _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
|
56 .. _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
|
57 .. _MIT license: http://opensource.org/licenses/MIT |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
58 |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
59 </help> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
60 <citations> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
61 <citation type="doi">10.1186/1471-2105-14-73</citation> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
62 </citations> |
0bdc5a73c8d1
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
63 </tool> |