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