Mercurial > repos > sanbi-uwc > data_manager_fetch_refseq
comparison data_manager/fetch_refseq.xml @ 0:cfe6cd521835 draft
planemo upload for repository https://github.com/pvanheus/refseq_fasta_data_manager commit cfd2aa18826b938402ccfc6003f1793886001202-dirty
author | sanbi-uwc |
---|---|
date | Fri, 07 Sep 2018 17:13:20 -0400 |
parents | |
children | 300562c726cc |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cfe6cd521835 |
---|---|
1 <tool id="data_manager_fetch_refseq" name="RefSeq data manager" version="0.0.1" tool_type="manage_data"> | |
2 <description>Fetch FASTA data from NCBI RefSeq and update all_fasta data table</description> | |
3 <requirements> | |
4 <requirement type="package" version="3">python</requirement> | |
5 </requirements> | |
6 <command detect_errors="aggressive"><![CDATA[ | |
7 python3 $__tool_directory__/fetch_refseq.py | |
8 #if str( $advanced.advanced_selector ) == 'advanced': | |
9 '${advanced.compress}' | |
10 #end if | |
11 --galaxy_datamanager_filename '${output_file}' | |
12 --division_names ${division_names} | |
13 --mol_types ${mol_type} | |
14 #if str( $pin_date ) != 'NO': | |
15 --pin_date '${pin_date}' | |
16 #end if | |
17 ]]></command> | |
18 <inputs> | |
19 <param argument="division_names" type="select" label="RefSeq division" multiple="true"> | |
20 <option value="archea">Archea</option> | |
21 <option value="bacteria">Bacteria</option> | |
22 <option value="complete">Complete</option> | |
23 <option value="fungi">Fungi</option> | |
24 <option value="invertebrate">Invertebrate</option> | |
25 <option value="mitochondrion">Mitochondrion</option> | |
26 <option value="other">Other</option> | |
27 <option value="plant">Plant</option> | |
28 <option value="plasmid">Plasmid</option> | |
29 <option value="plastid">Plastid</option> | |
30 <option value="protozoa">Protozoa</option> | |
31 <option value="vertebrate_mammalian">Mammalian Vertebrate</option> | |
32 <option value="vertebrate_other">Other Vertebrate</option> | |
33 <option value="viral">Viral</option> | |
34 </param> | |
35 <param argument="mol_types" type="select" label="Molecule type" help="Select at least one of genomic, protein or rna sequence"> | |
36 <option value="protein">Protein</option> | |
37 <option value="genomic">Genomic (DNA)</option> | |
38 <option value="rna">RNA</option> | |
39 </param> | |
40 <conditional name="advanced"> | |
41 <param name="advanced_selector" type="select" label="Advanced Options"> | |
42 <option value="basic" selected="True">Basic</option> | |
43 <option value="advanced">Advanced</option> | |
44 </param> | |
45 <when value="basic"> | |
46 </when> | |
47 <when value="advanced"> | |
48 <param type="boolean" argument="--compress" truevalue="--compress" falsevalue="" label="Compress FASTA files" | |
49 help="Compress downloaded FASTA files (with gzip). Limits compatibility with tools expecting uncompressed FASTA."/> | |
50 </when> | |
51 </conditional> | |
52 <param argument="--pin_date" type="hidden" value="NO" help="Used for testing"/> | |
53 </inputs> | |
54 <outputs> | |
55 <data name="output_file" format="data_manager_json"/> | |
56 </outputs> | |
57 <tests> | |
58 <test> | |
59 <param name="division_names" value="plastid"/> | |
60 <param name="mol_types" value="protein"/> | |
61 <param name="pin_date" value="2018-03-14"/> | |
62 <param name="advanced_selector" value="basic"/> | |
63 <output name="output_file"> | |
64 <assert_contents> | |
65 <has_text text="2018-03-14"/> | |
66 </assert_contents> | |
67 </output> | |
68 </test> | |
69 </tests> | |
70 <help><![CDATA[ | |
71 This data manager fetches FASTA format collections of proteins, nucleotides (genomic DNA) and RNA | |
72 from NCBI's RefSeq_ data collection. | |
73 | |
74 RefSeq is released every two months and consists of a number of divisions. Some sequences are shared | |
75 between multiple divisions. This data manager allows the Galaxy administrator to select which | |
76 divisions and which molecule types within each division to download. Once downloaded the | |
77 files are made accessible by adding an entry into the *all_fasta* data table. | |
78 | |
79 .. _RefSeq: https://www.ncbi.nlm.nih.gov/refseq/ | |
80 ]]> | |
81 </help> | |
82 <citations> | |
83 <citation type="doi">10.1093/nar/gkv1189</citation> | |
84 </citations> | |
85 </tool> |