Mercurial > repos > iuc > ncbi_acc_download
comparison ncbi_acc_download.xml @ 2:e063168e0a81 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
author | iuc |
---|---|
date | Fri, 18 Nov 2022 18:21:57 +0000 |
parents | 1c58de56d587 |
children |
comparison
equal
deleted
inserted
replaced
1:28587613264f | 2:e063168e0a81 |
---|---|
21 ncbi-acc-download | 21 ncbi-acc-download |
22 --molecule '${molecule.select}' | 22 --molecule '${molecule.select}' |
23 --format '${molecule.format}' | 23 --format '${molecule.format}' |
24 #if $molecule.format != 'featuretable' and $molecule.format != 'gff3': | 24 #if $molecule.format != 'featuretable' and $molecule.format != 'gff3': |
25 --extended-validation all | 25 --extended-validation all |
26 #end if | |
27 #if $range != "" | |
28 --range $range | |
26 #end if | 29 #end if |
27 \${accession}; | 30 \${accession}; |
28 failure=\$?; | 31 failure=\$?; |
29 if [ \$failure -ne 0 ]; then | 32 if [ \$failure -ne 0 ]; then |
30 echo " failed." >> ../error.log; | 33 echo " failed." >> ../error.log; |
71 <param name="format" type="select" label="File Format"> | 74 <param name="format" type="select" label="File Format"> |
72 <option value="fasta" selected="true">FASTA</option> | 75 <option value="fasta" selected="true">FASTA</option> |
73 </param> | 76 </param> |
74 </when> | 77 </when> |
75 </conditional> | 78 </conditional> |
79 <param argument="--range" type="text" label="Range" help="Region to subset accession. Start and end position separated by ':', '..', or '.'. Only for single accession"> | |
80 <sanitizer invalid_char=""> | |
81 <valid initial="string.digits"> | |
82 <add value=":" /> | |
83 <add value=".." /> | |
84 <add value="." /> | |
85 </valid> | |
86 </sanitizer> | |
87 </param> | |
76 <param name="ignore_failed" type="select" display="radio" | 88 <param name="ignore_failed" type="select" display="radio" |
77 label="How to handle download failures"> | 89 label="How to handle download failures"> |
78 <option value="0">Abort with error on first failure</option> | 90 <option value="0">Abort with error on first failure</option> |
79 <option value="1">Add accession to failed list and continue</option> | 91 <option value="1">Add accession to failed list and continue</option> |
80 </param> | 92 </param> |
294 <has_line line=">NP_003192.1 transcription factor A, mitochondrial isoform 1 precursor [Homo sapiens]" /> | 306 <has_line line=">NP_003192.1 transcription factor A, mitochondrial isoform 1 precursor [Homo sapiens]" /> |
295 </assert_contents> | 307 </assert_contents> |
296 </element> | 308 </element> |
297 </output_collection> | 309 </output_collection> |
298 </test> | 310 </test> |
311 <test> | |
312 <conditional name="molecule"> | |
313 <param name="select" value="nucleotide"/> | |
314 <param name="format" value="genbank"/> | |
315 </conditional> | |
316 <conditional name="query_source"> | |
317 <param name="select" value="accession_list" /> | |
318 <param name="accession_list" value="NC_006666"/> | |
319 </conditional> | |
320 <param name="range" value="1697:2764"/> | |
321 <output_collection name="output" type="list"> | |
322 <element name="NC_006666" ftype="genbank"> | |
323 <assert_contents> | |
324 <has_text text="ND2" /> | |
325 <not_has_text text="tRNA-Ile" /> | |
326 </assert_contents> | |
327 </element> | |
328 </output_collection> | |
329 </test> | |
299 </tests> | 330 </tests> |
300 <help><![CDATA[ | 331 <help><![CDATA[ |
301 **What it does** | 332 **What it does** |
302 Given a file containing a list of NCBI accession numbers or a direct entry of accession numbers in the tool text input box, this tool will download the corresponding sequence records via the NCBI API. | 333 Given a file containing a list of NCBI accession numbers or a direct entry of accession numbers in the tool text input box, this tool will download the corresponding sequence records via the NCBI API. |
303 | 334 |