annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
1 <tool id="ncbi_acc_download" name="NCBI Accession Download" version="@TOOL_VERSION@+galaxy0">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
2 <description>Download sequences from GenBank/RefSeq by accession through the NCBI ENTREZ API</description>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
3 <macros>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
5 </macros>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
6 <requirements>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">ncbi-acc-download</requirement>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
8 </requirements>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
10 #if $query_source.select == "accession_file":
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
11 { grep -v "^[ \t]*$" $query_source.accession_file > accessions ||
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
12 { echo "No accession numbers in input. Aborting." 1>&2; exit 1; } } &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
13 #else if $query_source.select == "accession_list":
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
14 echo '$query_source.accession_list' | sed -r 's/(\,|__cn__)/\n/g' | grep -v "^[ \t]*$" > accessions &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
15 #end if
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
16 mkdir outdir &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
17 cd outdir &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
18 ignore_errors=$ignore_failed &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
19 while read accession; do
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
20 echo "Downloading accession number: " \$accession " ..." >> ../error.log &&
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
21 ncbi-acc-download
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
22 --molecule '${molecule.select}'
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
23 --format '${molecule.format}'
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
24 #if $molecule.format != 'featuretable' and $molecule.format != 'gff3':
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
25 --extended-validation all
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
26 #end if
2
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
27 #if $range != ""
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
28 --range $range
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
29 #end if
0
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
30 \${accession};
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
31 failure=\$?;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
32 if [ \$failure -ne 0 ]; then
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
33 echo " failed." >> ../error.log;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
34 if [ \$ignore_errors -ne 0 ]; then
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
35 echo \$accession >> ../failed.txt;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
36 else
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
37 exit 1;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
38 fi;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
39 else
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
40 echo " done." >> ../error.log;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
41 fi;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
42 sleep 2;
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
43 done < ../accessions 2> >(tee -a ../error.log >&2);
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
44 ]]></command>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
45 <inputs>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
46 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
47 <param name="select" type="select" label="Select source for IDs">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
48 <option value="accession_file">File containing Accessions (one per line)</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
49 <option value="accession_list">Direct Entry</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
50 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
51 <when value="accession_file">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
52 <param label="Accession File" name="accession_file" type="data" format="txt,tabular"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
53 </when>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
54 <when value="accession_list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
55 <param label="ID List" name="accession_list" type="text" area="true" help="Newline/Comma separated list of IDs">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
56 <validator type="expression" message="ID list cannot be empty">value.strip()</validator>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
57 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
58 </when>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
59 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
60 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
61 <param name="select" type="select" label="Molecule Type">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
62 <option value="nucleotide" selected="true">Nucleotide</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
63 <option value="protein">Protein</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
64 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
65 <when value="nucleotide">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
66 <param name="format" type="select" label="File Format">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
67 <option value="fasta" selected="true">FASTA</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
68 <option value="genbank">GenBank</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
69 <option value="featuretable">Feature Table</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
70 <option value="gff3">GFF3</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
71 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
72 </when>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
73 <when value="protein">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
74 <param name="format" type="select" label="File Format">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
75 <option value="fasta" selected="true">FASTA</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
76 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
77 </when>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
78 </conditional>
2
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
79 <param argument="--range" type="text" label="Range" help="Region to subset accession. Start and end position separated by ':', '..', or '.'. Only for single accession">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
80 <sanitizer invalid_char="">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
81 <valid initial="string.digits">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
82 <add value=":" />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
83 <add value=".." />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
84 <add value="." />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
85 </valid>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
86 </sanitizer>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
87 </param>
0
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
88 <param name="ignore_failed" type="select" display="radio"
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
89 label="How to handle download failures">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
90 <option value="0">Abort with error on first failure</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
91 <option value="1">Add accession to failed list and continue</option>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
92 </param>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
93 </inputs>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
94 <outputs>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
95 <collection name="output" type="list" label="${tool.name} on ${on_string}: Downloaded Files">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
96 <discover_datasets pattern="(?P&lt;name&gt;.+)\.fa$" directory="outdir" format="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
97 <discover_datasets pattern="(?P&lt;name&gt;.+)\.gbk$" directory="outdir" format="genbank"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
98 <discover_datasets pattern="(?P&lt;name&gt;.+)\.gff$" directory="outdir" format="gff"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
99 <discover_datasets pattern="(?P&lt;name&gt;.+)\.ft$" directory="outdir" format="txt"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
100 </collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
101 <data name="error_log" from_work_dir="error.log" label="${tool.name} on ${on_string}: Log" format="txt"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
102 <data name="failed_accessions" from_work_dir="failed.txt" label="${tool.name} on ${on_string}: Failed accessions" format="txt">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
103 <filter>str(ignore_failed)=='1'</filter>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
104 </data>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
105 </outputs>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
106 <tests>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
107 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
108 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
109 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
110 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
111 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
112 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
113 <param name="select" value="accession_file" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
114 <param name="accession_file" value="accessions_1.tsv"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
115 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
116 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
117 <element name="CP011064" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
118 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
119 <has_line line=">CP011064.1 Escherichia coli str. Sanji plasmid pSJ_94, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
120 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
121 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
122 <element name="CP021680" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
123 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
124 <has_line line=">CP021680.1 Escherichia coli strain AR_0162 plasmid tig00002623, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
125 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
126 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
127 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
128 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
129 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
130 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
131 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
132 <param name="format" value="genbank"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
133 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
134 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
135 <param name="select" value="accession_file" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
136 <param name="accession_file" value="accessions_1.tsv"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
137 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
138 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
139 <element name="CP011064" ftype="genbank">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
140 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
141 <has_line line="DEFINITION Escherichia coli str. Sanji plasmid pSJ_94, complete sequence." />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
142 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
143 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
144 <element name="CP021680" ftype="genbank">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
145 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
146 <has_line line="DEFINITION Escherichia coli strain AR_0162 plasmid tig00002623, complete" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
147 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
148 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
149 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
150 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
151 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
152 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
153 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
154 <param name="format" value="gff3"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
155 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
156 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
157 <param name="select" value="accession_file" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
158 <param name="accession_file" value="accessions_1.tsv"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
159 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
160 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
161 <element name="CP011064" ftype="gff">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
162 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
163 <has_line line="##sequence-region CP011064.1 1 94712" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
164 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
165 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
166 <element name="CP021680" ftype="gff">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
167 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
168 <has_line line="##sequence-region CP021680.1 1 23332" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
169 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
170 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
171 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
172 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
173 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
174 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
175 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
176 <param name="format" value="featuretable"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
177 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
178 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
179 <param name="select" value="accession_file" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
180 <param name="accession_file" value="accessions_1.tsv"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
181 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
182 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
183 <element name="CP011064" ftype="txt">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
184 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
185 <has_line line=">Feature gb|CP011064.1|" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
186 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
187 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
188 <element name="CP021680" ftype="txt">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
189 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
190 <has_line line=">Feature gb|CP021680.1|" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
191 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
192 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
193 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
194 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
195 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
196 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
197 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
198 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
199 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
200 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
201 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
202 <param name="accession_list" value="CP011064,CP021680"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
203 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
204 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
205 <element name="CP011064" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
206 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
207 <has_line line=">CP011064.1 Escherichia coli str. Sanji plasmid pSJ_94, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
208 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
209 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
210 <element name="CP021680" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
211 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
212 <has_line line=">CP021680.1 Escherichia coli strain AR_0162 plasmid tig00002623, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
213 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
214 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
215 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
216 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
217 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
218 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
219 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
220 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
221 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
222 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
223 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
224 <param name="accession_list" value="CP011064,CP0XXXXX,CP021680"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
225 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
226 <param name="ignore_failed" value="1" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
227 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
228 <element name="CP011064" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
229 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
230 <has_line line=">CP011064.1 Escherichia coli str. Sanji plasmid pSJ_94, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
231 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
232 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
233 <element name="CP021680" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
234 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
235 <has_line line=">CP021680.1 Escherichia coli strain AR_0162 plasmid tig00002623, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
236 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
237 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
238 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
239 <output name="failed_accessions">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
240 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
241 <has_line line="CP0XXXXX" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
242 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
243 </output>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
244 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
245 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
246 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
247 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
248 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
249 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
250 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
251 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
252 <param name="accession_list" value="CP0XXXXX"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
253 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
254 <param name="ignore_failed" value="1" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
255 <output name="failed_accessions">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
256 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
257 <has_line line="CP0XXXXX" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
258 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
259 </output>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
260 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
261 <test expect_failure="true">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
262 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
263 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
264 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
265 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
266 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
267 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
268 <param name="accession_list" value="CP011064,CP0XXXXX,CP021680"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
269 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
270 <param name="ignore_failed" value="0" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
271 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
272 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
273 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
274 <param name="select" value="nucleotide"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
275 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
276 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
277 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
278 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
279 <param name="accession_list" value="CP011064&#10;CP021680"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
280 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
281 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
282 <element name="CP011064" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
283 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
284 <has_line line=">CP011064.1 Escherichia coli str. Sanji plasmid pSJ_94, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
285 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
286 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
287 <element name="CP021680" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
288 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
289 <has_line line=">CP021680.1 Escherichia coli strain AR_0162 plasmid tig00002623, complete sequence" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
290 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
291 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
292 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
293 </test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
294 <test>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
295 <conditional name="molecule">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
296 <param name="select" value="protein"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
297 <param name="format" value="fasta"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
298 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
299 <conditional name="query_source">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
300 <param name="select" value="accession_list" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
301 <param name="accession_list" value="NP_003192"/>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
302 </conditional>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
303 <output_collection name="output" type="list">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
304 <element name="NP_003192" ftype="fasta">
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
305 <assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
306 <has_line line=">NP_003192.1 transcription factor A, mitochondrial isoform 1 precursor [Homo sapiens]" />
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
307 </assert_contents>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
308 </element>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
309 </output_collection>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
310 </test>
2
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
311 <test>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
312 <conditional name="molecule">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
313 <param name="select" value="nucleotide"/>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
314 <param name="format" value="genbank"/>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
315 </conditional>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
316 <conditional name="query_source">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
317 <param name="select" value="accession_list" />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
318 <param name="accession_list" value="NC_006666"/>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
319 </conditional>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
320 <param name="range" value="1697:2764"/>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
321 <output_collection name="output" type="list">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
322 <element name="NC_006666" ftype="genbank">
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
323 <assert_contents>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
324 <has_text text="ND2" />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
325 <not_has_text text="tRNA-Ile" />
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
326 </assert_contents>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
327 </element>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
328 </output_collection>
e063168e0a81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 7077bbc8c1e416f717b545c5ac18b0c8b5a066b2
iuc
parents: 0
diff changeset
329 </test>
0
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
330 </tests>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
331 <help><![CDATA[
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
332 **What it does**
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
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.
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
334
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
335 **Limitations**
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
336 - For protein sequence downloads, only fasta format is supported
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
337 - To avoid rate-limits imposed by the NCBI API, records are downloaded sequentially with a delay between requests. This may make it impractical to use this tool to download many (>100) records.
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
338
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
339 **Output**
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
340 A collection of sequence records in the desired format.
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
341 ]]></help>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
342 <citations>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
343 </citations>
1c58de56d587 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 6747338e8e02cb87c4f3b9cdea0b761f236a02d1"
iuc
parents:
diff changeset
344 </tool>