annotate datasets_genome.xml @ 11:ac24fff14f23 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
author iuc
date Fri, 02 Dec 2022 10:52:48 +0000
parents a3395b1d871b
children d78faac2c6ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
0622d99c2619 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 7fc0becfda6c41c95d4aa9ee32ae0539be9b6210
iuc
parents: 6
diff changeset
1 <tool id="datasets_download_genome" name="NCBI Datasets Genomes" profile="@PROFILE@" license="@LICENSE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
2 <description>download genome sequence, annotation and metadata</description>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
3 <macros>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
5 </macros>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
6 <expand macro="requirements"></expand>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
7 <command><![CDATA[
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
8 #import re
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
9 @SETUP_CERTIFICATES@
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
10 datasets download genome $query.subcommand.download_by
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
11 #if $query.subcommand.download_by == 'accession':
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
12 #if $query.subcommand.text_or_file.text_or_file == 'text':
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
13 #echo " ".join(f"'{x}'" for x in re.split(" |,", str($query.subcommand.text_or_file.accession)) if x)
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
14 #else
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
15 --inputfile '$query.subcommand.text_or_file.inputfile'
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
16 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
17 #else:
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
18 '$query.subcommand.taxon_positional'
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
19 $query.subcommand.tax_exact_match
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
20 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
21 $filters.reference
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
22 $filters.annotated
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
23 #if $filters.assembly_level:
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
24 --assembly-level $filters.assembly_level
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
25 #end if
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
26 --assembly-version $filters.assembly_version
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
27 #if $filters.assembly_source:
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
28 --assembly-source $filters.assembly_source
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
29 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
30 #if $filters.chromosomes:
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
31 --chromosomes '$filters.chromosomes'
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
32 #end if
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
33 $filters.exclude_atypical
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
34 @INCLUDE@
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
35 @RELEASED_BEFORE@
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
36 @RELEASED_AFTER@
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
37 #for search_term in $filters.search:
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
38 --search '$filters.search_term'
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
39 #end for
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
40 --no-progressbar
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
41 --dehydrated
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
42
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
43 ## produce TSV report file
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
44 && dataformat tsv genome
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
45 --package ncbi_dataset.zip
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
46 --fields #echo ",".join($file_choices.report_columns)
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
47 > genome_data_report.tsv
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
48
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
49 ## unzip and rehydrate if any data is to be downloaded (include is not None)
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
50 #if $file_choices.include
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
51 ## unzip
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
52 && 7z x -y ncbi_dataset.zip > 7z.log
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
53
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
54 ## rehydrate
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
55 && datasets rehydrate
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
56 --directory ./
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
57 #if not $file_choices.decompress
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
58 --gzip
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
59 #end if
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
60 --max-workers \${NCBI_DATASETS_MAX_WORKERS:-10}
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
61
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
62 ## rename all faa, fna (resp faa.gz, fna.gz) to fasta (resp fasta.gz) to allow discovery
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
63 && find ncbi_dataset \( -name "*.faa" -o -name "*.fna" -o -name "*.faa.gz" -o -name "*.fna.gz" \) -exec sh -c 'mv {} \$(echo {} | sed "s/.f[an]a\(.gz\)\?\$/.fasta\1/")' \;
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
64
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
65 ## unzip all compressed (non-fasta) files (jsonl files are just named .gz)
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
66 && find ncbi_dataset -name "*.jsonl.gz" -exec sh -c 'mv {} \$(dirname {})/\$(basename {} .gz)' \;
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
67 #if $file_choices.decompress
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
68 && find ncbi_dataset \( -name "*.gz" ! -name "*fasta.gz" \) -exec gunzip {} \;
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
69 #end if
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
70
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
71 #if "seq-report" in $file_choices.include
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
72 && find ncbi_dataset -name sequence_report.jsonl -exec sh -c 'dataformat tsv genome-seq --inputfile {} > \$(dirname {})/\$(basename {} .jsonl).tsv' \;
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
73 #end if
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
74
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
75 && true ## because Galaxy removes trailing ; from command
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
76 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
77 ]]></command>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
78 <inputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
79 <section name="query" title="Query" expanded="true">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
80 <conditional name="subcommand">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
81 <param name="download_by" type="select" label="Choose how to find genomes to download">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
82 <option value="accession">By NCBI assembly or BioProject accession</option>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
83 <option value="taxon">By taxon (NCBI Taxonomy ID, scientific or common name at any tax rank)</option>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
84 </param>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
85 <when value="accession">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
86 <expand macro="text_or_file"/>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
87 </when>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
88 <when value="taxon">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
89 <expand macro="taxon_positional"/>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
90 <param argument="--tax-exact-match" type="boolean" truevalue="--tax-exact-match" falsevalue="" label="Exclude sub-species when a species-level taxon is specified"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
91 </when>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
92 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
93 </section>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
94 <section name="filters" title="Filters and Limit">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
95 <param argument="--reference" type="boolean" truevalue="--reference" falsevalue="" label="Limit to reference and representative (GCF_ and GCA_) assemblies"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
96 <expand macro="annotation"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
97 <expand macro="assembly_level"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
98 <param argument="--assembly-version" type="select" label="Assembly version(s)">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
99 <option value="latest">Latest</option>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
100 <option value="all">All</option>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
101 </param>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
102 <expand macro="assembly_source"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
103 <expand macro="chromosomes"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
104 <param argument="--exclude-atypical" type="boolean" truevalue="--exclude-atypical" falsevalue="" label="Exclude atypical assemblies"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
105 <expand macro="released_options"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
106 <expand macro="released_options" before_or_after="after"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
107
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
108 <repeat name="search" title="Add search terms">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
109 <param argument="--search" type="text" label="Only include genomes that have the specified text in the searchable fields" help="Searchable fields are species and infraspecies, assembly name and submitter"/>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
110 </repeat>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
111 </section>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
112 <section name="file_choices" title="Output options" expanded="true">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
113 <expand macro="tsv_report_columns">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
114 <option value="accession" selected="true">accession</option>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
115 <option value="organism-name" selected="true">organism-name</option>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
116 <option value="assminfo-submitter" selected="true">assminfo-submitter</option>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
117 <option value="assminfo-name" selected="true">assminfo-name</option>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
118 </expand>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
119 <expand macro="include">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
120 <expand macro="genome_includes"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
121 </expand>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
122 <param name="decompress" type="boolean" label="Decompress FASTA" help="By default FASTA files are provided zipped (fasta.gz) if this is checked the data will be decompressed"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
123 </section>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
124 </inputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
125 <outputs>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
126 <data name="genome_data_report" format="tabular" label="NCBI Genome Datasets: Data Report" from_work_dir="genome_data_report.tsv"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
127 <collection name="sequence_report" label="NCBI Genome Datasets: Sequence Data Report" type="list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
128 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/sequence_report.tsv" ext="tabular" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
129 <filter>file_choices['include'] and "seq-report" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
130 </collection>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
131 <collection name="genome_fasta" label="NCBI Genome Datasets: genome fasta" type="list:list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
132 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)/(?!rna|cds_from)(?P&lt;identifier_1&gt;.*?)(_genomic)?\.(?P&lt;ext&gt;fasta(\.gz)?)" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
133 <filter>file_choices['include'] and "genome" in file_choices['include']</filter>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
134 </collection>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
135 <collection name="rna_fasta" label="NCBI Genome Datasets: RNA fasta" type="list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
136 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/rna\.(?P&lt;ext&gt;fasta(\.gz)?)$" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
137 <filter>file_choices['include'] and "rna" in file_choices['include']</filter>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
138 </collection>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
139 <collection name="protein_fasta" label="NCBI Genome Datasets: protein fasta" type="list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
140 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/protein\.(?P&lt;ext&gt;fasta(\.gz)?)$" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
141 <filter>file_choices['include'] and "protein" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
142 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
143 <collection name="genomic_cds" label="NCBI Genome Datasets: genomic cds fasta" type="list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
144 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/cds_from_genomic\.(?P&lt;ext&gt;fasta(\.gz)?)$" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
145 <filter>file_choices['include'] and "cds" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
146 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
147 <collection name="genomic_gff" label="NCBI Genome Datasets: genomic gff3" type="list">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
148 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/genomic\.gff" ext="gff3" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
149 <filter>file_choices['include'] and "gff3" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
150 </collection>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
151 <collection name="genomic_gtf" label="NCBI Genome Datasets: gtf" type="list">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
152 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/genomic\.gtf" ext="gtf" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
153 <filter>file_choices['include'] and "gtf" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
154 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
155 <collection name="genomic_gbff" label="NCBI Genome Datasets: GenBank flatfile" type="list">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
156 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?)\/genomic\.gbff" ext="txt" directory="ncbi_dataset/data" recurse="true" match_relative_path="true"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
157 <filter>file_choices['include'] and "gbff" in file_choices['include']</filter>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
158 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
159 </outputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
160 <tests>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
161 <!-- Note: All but one test use the non-default decompress="true"
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
162
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
163 this is because (at 11/22) Galaxy can not apply text assertions on the content
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
164 of compressed files https://github.com/galaxyproject/galaxy/pull/15085
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
165
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
166 So with decompress="true" more powerfull assertions are powerful.
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
167 A single test checks the default, ie decompress="false".
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
168 -->
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
169 <test expect_num_outputs="1">
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
170 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
171 <param name="download_by" value="taxon"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
172 <param name="taxon_positional" value="human"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
173 </conditional>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
174 <param name="chromosomes" value="21"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
175 <param name="released_before" value="01/01/2018"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
176 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
177 <param name="include" value=""/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
178 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
179 <output name="genome_data_report">
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
180 <assert_contents>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
181 <has_text text="Assembly Accession&#009;Assembly Name&#009;Assembly Submitter&#009;Organism Name"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
182 <has_n_lines n="144"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
183 <has_n_columns n="4"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
184 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
185 </output>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
186 </test>
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
187 <test expect_num_outputs="2">
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
188 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
189 <param name="download_by" value="taxon"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
190 <param name="taxon_positional" value="human"/>
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
191 </conditional>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
192 <param name="chromosomes" value="21"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
193 <param name="assembly_level" value="chromosome,complete"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
194 <param name="released_before" value="01/01/2018"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
195 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
196 <param name="include" value="genome"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
197 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
198 </section>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
199 <output_collection name="genome_fasta" type="list:list" count="14">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
200 <expand macro="genome_fasta_assert" el1="GCA_000002115.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
201 <expand macro="genome_fasta_assert" el1="GCA_000002125.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
202 <expand macro="genome_fasta_assert" el1="GCA_000002135.3" el2="GCA_000002135.3_CRA_TCAGchr7v2" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
203 <expand macro="genome_fasta_assert" el1="GCA_000212995.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
204 <expand macro="genome_fasta_assert" el1="GCA_000252825.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
205 <expand macro="genome_fasta_assert" el1="GCA_000306695.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
206 <expand macro="genome_fasta_assert" el1="GCA_000365445.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
207 <!-- TODO chromosomes argument (or data) seems not reliable https://github.com/ncbi/datasets/issues/188-->
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
208 <expand macro="genome_fasta_assert" el1="GCA_000442335.2" el2="GCA_000442335.2_LinearCen1.1_normalized" expression=">" expression_n="25"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
209 <expand macro="genome_fasta_assert" el1="GCA_001292825.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
210 <expand macro="genome_fasta_assert" el1="GCA_001524155.4" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
211 <expand macro="genome_fasta_assert" el1="GCA_001712695.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
212 <expand macro="genome_fasta_assert" el1="GCA_022833125.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
213 <expand macro="genome_fasta_assert" el1="GCF_000002125.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
214 <expand macro="genome_fasta_assert" el1="GCF_000306695.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
215 </output_collection>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
216 <output name="genome_data_report">
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
217 <assert_contents>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
218 <has_text text="Homo sapiens"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
219 <has_n_columns n="4"/>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
220 </assert_contents>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
221 </output>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
222 </test>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
223 <!-- same as previous test but assembly_source (refseq which removes some of the genomes) -->
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
224 <test expect_num_outputs="2">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
225 <conditional name="query|subcommand">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
226 <param name="download_by" value="taxon"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
227 <param name="taxon_positional" value="human"/>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
228 </conditional>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
229 <param name="chromosomes" value="21"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
230 <param name="assembly_level" value="chromosome,complete"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
231 <param name="assembly_source" value="refseq"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
232 <param name="released_before" value="01/01/2018"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
233 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
234 <param name="include" value="genome"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
235 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
236 </section>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
237 <output_collection name="genome_fasta" type="list:list" count="2">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
238 <expand macro="genome_fasta_assert" el1="GCF_000002125.1" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
239 <expand macro="genome_fasta_assert" el1="GCF_000306695.2" el2="chr21" expression=">"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
240 </output_collection>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
241 <output name="genome_data_report">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
242 <assert_contents>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
243 <has_text text="Homo sapiens"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
244 <has_n_lines n="5"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
245 <has_n_columns n="4"/>
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
246 </assert_contents>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
247 </output>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
248 </test>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
249 <test expect_num_outputs="4">
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
250 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
251 <param name="download_by" value="accession"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
252 <conditional name="text_or_file">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
253 <param name="text_or_file" value="text"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
254 <param name="accession" value="GCF_000013305.1 GCF_000007445.1"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
255 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
256 </conditional>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
257 <param name="released_before" value="01/01/2007"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
258 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
259 <param name="include" value="seq-report,gtf,cds"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
260 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
261 </section>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
262 <output name="genome_data_report">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
263 <assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
264 <has_text text="GCF_000013305.1"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
265 <has_n_lines n="3"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
266 <has_n_columns n="4"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
267 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
268 </output>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
269 <output_collection name="sequence_report" type="list" count="2" >
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
270 <element name="GCF_000007445.1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
271 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
272 <has_text text="GCF_000007445.1"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
273 <has_n_lines n="2"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
274 <has_n_columns n="14"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
275 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
276 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
277 <element name="GCF_000013305.1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
278 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
279 <has_text text="GCF_000013305.1"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
280 <has_n_lines n="2"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
281 <has_n_columns n="14"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
282 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
283 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
284 </output_collection>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
285 <output_collection name="genomic_gtf" type="list">
9
18eed8fa7f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit baddca770f8ae8475785374d883b3b42fac27c0c
iuc
parents: 8
diff changeset
286 <element name="GCF_000007445.1" file="GCF_000007445.1.genomic.gtf" compare="contains"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
287 <element name="GCF_000013305.1" file="genome.2.GCF_000013305.1.genomic.gtf" compare="contains"/>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
288 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
289 <output_collection name="genomic_cds" type="list">
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
290 <element name="GCF_000007445.1" file="genome.2.GCF_000007445.1.genomic.cds" compare="contains" decompress="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
291 <element name="GCF_000013305.1" file="genome.2.GCF_000013305.1.genomic.cds" compare="contains" decompress="true"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
292 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
293 </test>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
294 <test expect_num_outputs="4">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
295 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
296 <param name="download_by" value="accession"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
297 <conditional name="text_or_file">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
298 <param name="text_or_file" value="file"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
299 <param name="inputfile" value="accessions.txt"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
300 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
301 </conditional>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
302 <param name="released_before" value="01/01/2007"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
303 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
304 <param name="include" value="seq-report,gff3,gbff"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
305 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
306 </section>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
307 <output name="genome_data_report">
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
308 <assert_contents>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
309 <has_text text="GCF_000013305.1"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
310 <has_text text="GCF_000007445.1"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
311 <has_n_lines n="3"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
312 <has_n_columns n="4"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
313 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
314 </output>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
315 <output_collection name="genomic_gff" type="list">
9
18eed8fa7f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit baddca770f8ae8475785374d883b3b42fac27c0c
iuc
parents: 8
diff changeset
316 <element name="GCF_000007445.1" file="genome.3.GCF_000007445.1.genomic.gff" compare="contains"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
317 <element name="GCF_000013305.1" file="genome.3.GCF_000013305.1.genomic.gff" compare="contains"/>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
318 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
319 <output_collection name="genomic_gbff" type="list">
9
18eed8fa7f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit baddca770f8ae8475785374d883b3b42fac27c0c
iuc
parents: 8
diff changeset
320 <element name="GCF_000007445.1" file="genome.3.GCF_000007445.1.genomic.gbff" compare="contains"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
321 <element name="GCF_000013305.1" file="genome.3.GCF_000013305.1.genomic.gbff" compare="contains"/>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
322 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
323 </test>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
324
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
325 <!-- should not fail https://github.com/ncbi/datasets/issues/194 -->
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
326 <test expect_num_outputs="2" expect_failure="true">
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
327 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
328 <param name="download_by" value="accession"/>
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
329 <conditional name="text_or_file">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
330 <param name="text_or_file" value="text"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
331 <param name="accession" value="GCF_000001405"/>
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
332 </conditional>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
333 </conditional>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
334 <param name="released_before" value="01/01/2015"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
335 <param name="assembly_version" value="all"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
336 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
337 <param name="include" value="seq-report"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
338 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
339 <!--
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
340 <output_collection name="sequence_report" type="list" count="4" >
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
341 -->
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
342 </test>
7
0622d99c2619 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 7fc0becfda6c41c95d4aa9ee32ae0539be9b6210
iuc
parents: 6
diff changeset
343 <test expect_num_outputs="5">
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
344 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
345 <param name="download_by" value="accession"/>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
346 <conditional name="text_or_file">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
347 <param name="text_or_file" value="text"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
348 <param name="accession" value="GCF_000146045.2"/>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
349 </conditional>
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
350 </conditional>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
351 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
352 <param name="include" value="genome,protein,rna,cds"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
353 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
354 </section>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
355 <output_collection name="genome_fasta" type="list:list" count="1">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
356 <expand macro="genome_fasta_assert" el1="GCF_000146045.2" el2="GCF_000146045.2_R64" expression=">NC_[0-9]+\.[0-9]+ Saccharomyces cerevisiae S288[Cc] (mitochondrion|chromosome .*), complete (sequence|genome)" expression_n="17"/>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
357 </output_collection>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
358 <output_collection name="protein_fasta" type="list" count="1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
359 <element name="GCF_000146045.2" decompress="true">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
360 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
361 <has_text text=">"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
362 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
363 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
364 </output_collection>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
365 <output_collection name="rna_fasta" type="list" count="1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
366 <element name="GCF_000146045.2" decompress="true">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
367 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
368 <has_text text=">"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
369 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
370 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
371 </output_collection>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
372 </test>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
373 <!-- same as the previous test, but use the default value for decompress,
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
374 see comment at the beginning of the tests -->
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
375 <test expect_num_outputs="5">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
376 <conditional name="query|subcommand">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
377 <param name="download_by" value="accession"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
378 <conditional name="text_or_file">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
379 <param name="text_or_file" value="text"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
380 <param name="accession" value="GCF_000146045.2"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
381 </conditional>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
382 </conditional>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
383 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
384 <param name="include" value="genome,protein,rna,cds"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
385 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
386 <output_collection name="genome_fasta" type="list:list" count="1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
387 <element name="GCF_000146045.2">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
388 <element name="GCF_000146045.2_R64" ftype="fasta.gz">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
389 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
390 <has_size value="3843460"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
391 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
392 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
393 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
394 </output_collection>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
395 <output_collection name="protein_fasta" type="list" count="1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
396 <element name="GCF_000146045.2" ftype="fasta.gz">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
397 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
398 <has_size value="1844838"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
399 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
400 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
401 </output_collection>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
402 <output_collection name="rna_fasta" type="list" count="1">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
403 <element name="GCF_000146045.2" ftype="fasta.gz">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
404 <assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
405 <has_size value="2784534"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
406 </assert_contents>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
407 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
408 </output_collection>
6
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
409 </test>
8
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
410 <test expect_num_outputs="3">
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
411 <conditional name="query|subcommand">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
412 <param name="download_by" value="accession"/>
8
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
413 <conditional name="text_or_file">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
414 <param name="text_or_file" value="text"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
415 <param name="accession" value="GCF_000146045.2 GCF_000002945.1"/>
8
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
416 </conditional>
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
417 </conditional>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
418 <section name="file_choices">
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
419 <param name="include" value="seq-report,genome"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
420 <param name="decompress" value="true"/>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
421 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
422 <output_collection name="sequence_report" type="list" count="2"/>
8
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
423 <output_collection name="genome_fasta" type="list:list" count="2">
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
424 <expand macro="genome_fasta_assert" el1="GCF_000002945.1" el2="GCF_000002945.1_ASM294v2" expression=">NC_[0-9]+\.[0-9]+ Schizosaccharomyces pombe (mitochondrion|chromosome .*), complete (sequence|genome)" expression_n="4"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
425 <expand macro="genome_fasta_assert" el1="GCF_000146045.2" el2="GCF_000146045.2_R64" expression=">NC_[0-9]+\.[0-9]+ Saccharomyces cerevisiae S288[Cc] (mitochondrion|chromosome .*), complete (sequence|genome)" expression_n="17"/>
8
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
426 </output_collection>
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
427 </test>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
428 <!-- tax_exact_match seems not able to filter out strains
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
429 https://github.com/ncbi/datasets/issues/187
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
430 hence we set expect_test_failure="true"-->
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
431 <test expect_num_outputs="1" expect_test_failure="true">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
432 <conditional name="query|subcommand">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
433 <param name="download_by" value="taxon"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
434 <param name="taxon_positional" value="4932"/>
10
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
435 <param name="tax_exact_match" value="true"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
436 </conditional>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
437 <param name="include" value=""/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
438 <output name="genome_data_report">
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
439 <assert_contents>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
440 <has_text text="Saccharomyces cerevisiae ZTW1" negate="true"/>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
441 </assert_contents>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
442 </output>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
443 </test>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
444 </tests>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
445 <help>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
446 <![CDATA[
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
447 **Download Genome Datasets from NCBI**
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
448
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
449 Download a genome dataset including genome, transcript and protein sequence, annotation and a detailed data report.
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
450 Genome datasets can be specified by NCBI Assembly or BioProject accession(s) or by taxon.
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
451
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
452 The download is a three step process:
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
453
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
454 1. A "dehydrated" zip file is downloaded which includes the metadata and the download URL)
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
455 2. The metadata is transformed into a tabular (TSV) file
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
456 3. The data is hydrated (the actual data is downloaded)
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
457
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
458 The 3rd step can be skipped by unselecting all output types in the `Include` parameter.
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
459 Thereby its possible to inspect the metadata prior to the actual data download. Also this
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
460 allows to use the tool for querying data sets (and their accessions) of interest which
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
461 can then be downloaded in a second call using the accessions.
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
462 ]]>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
463 </help>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
464
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
465 </tool>