annotate datasets_genome.xml @ 13:1e188c9610c3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit d3fa7b70aa028f527a1dbbb210c172c637dfd4d9
author iuc
date Fri, 09 Dec 2022 15:11:16 +0000
parents d78faac2c6ef
children 75acf92c8fd5
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>
13
1e188c9610c3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit d3fa7b70aa028f527a1dbbb210c172c637dfd4d9
iuc
parents: 12
diff changeset
6 <expand macro="bio_tools"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
7 <expand macro="requirements"></expand>
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
8 <expand macro="version_command"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
9 <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
10 #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
11 @SETUP_CERTIFICATES@
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
12 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
13 #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
14 #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
15 #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
16 #else
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
17 --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
18 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
19 #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
20 '$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
21 $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
22 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
23 $filters.reference
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
24 $filters.annotated
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
25 #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
26 --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
27 #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
28 --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
29 #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
30 --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
31 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
32 #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
33 --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
34 #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
35 $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
36 @INCLUDE@
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
37 @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
38 @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
39 #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
40 --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
41 #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
42 --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
43 --dehydrated
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
44
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
45 ## 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
46 && 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
47 --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
48 --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
49 > 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
50
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 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
52 #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
53 ## unzip
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
54 && 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
55
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
56 ## rehydrate
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
57 && 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
58 --directory ./
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
59 #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
60 --gzip
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
61 #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
62 --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
63
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
64 ## 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
65 && 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
66
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
67 ## unzip all compressed (non-fasta) files (jsonl files are just named .gz)
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
68 ## note "not decompress" means that the datasets are provided uncompressed (datasets rehydrate is called we --gzip)
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
69 ## in this case we need to decompress all datasets that don't have a Galaxy datatype allowing for compression
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
70 && find ncbi_dataset -name "*.jsonl.gz" -exec sh -c 'mv {} \$(dirname {})/\$(basename {} .gz)' \;
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
71 #if not $file_choices.decompress
11
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 "*.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
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 #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
76 && 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
77 #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
78
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
79 && 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
80 #end if
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
81 ]]></command>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
82 <inputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
83 <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
84 <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
85 <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
86 <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
87 <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
88 </param>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
89 <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
90 <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
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 <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
93 <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
94 <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
95 </when>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
96 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
97 </section>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
98 <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
99 <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
100 <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
101 <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
102 <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
103 <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
104 <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
105 </param>
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="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
107 <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
108 <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
109 <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
110 <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
111
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
112 <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
113 <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
114 </repeat>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
115 </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
116 <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
117 <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
118 <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
119 <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
120 <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
121 <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
122 </expand>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
123 <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
124 <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
125 </expand>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
126 <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
127 </section>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
128 </inputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
129 <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
130 <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
131 <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
132 <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
133 <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
134 </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
135 <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
136 <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
137 <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
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="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
140 <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
141 <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
142 </collection>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
143 <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
144 <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
145 <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
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_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
148 <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
149 <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
150 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
151 <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
152 <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
153 <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
154 </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
155 <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
156 <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
157 <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
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 <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
160 <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
161 <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
162 </collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
163 </outputs>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
164 <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
165 <!-- 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
166
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
167 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
168 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
169
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
170 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
171 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
172 -->
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
173 <test expect_num_outputs="3">
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
174 <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
175 <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
176 <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
177 </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
178 <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
179 <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
180 <section name="file_choices">
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
181 <!-- include a sequence (which should be downloaded as fasta.gz)
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
182 and one non-sequence (which should be decompressed) output -->
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
183 <param name="include" value="rna,gff3"/>
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
184 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
185 <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
186 <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
187 <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
188 <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
189 <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
190 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
191 </output>
12
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
192 <output_collection name="rna_fasta" type="list" count="1">
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
193 <element name="GCF_000306695.2" decompress="true">
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
194 <assert_contents>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
195 <has_text text=">"/>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
196 </assert_contents>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
197 </element>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
198 </output_collection>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
199 <output_collection name="genomic_gff" type="list">
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
200 <element name="GCF_000306695.2">
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
201 <assert_contents>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
202 <has_n_lines min="1000000"/>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
203 <has_line line="##gff-version 3"/>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
204 <!-- TODO this will only work when the galaxy python packakes for 22.05 have been released
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
205 <has_n_columns n="9" comment="#"/> -->
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
206 </assert_contents>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
207 </element>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
208 </output_collection>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
209 <assert_command>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
210 <has_text text="gunzip"/>
d78faac2c6ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit affffdbe7237a2c0ba5793c0e7dd11cebb8413a9
iuc
parents: 11
diff changeset
211 </assert_command>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
212 </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
213 <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
214 <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
215 <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
216 <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
217 </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
218 <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
219 <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
220 <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
221 <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
222 <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
223 <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
224 </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
225 <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
226 <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
227 <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
228 <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
229 <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
230 <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
231 <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
232 <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
233 <!-- 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
234 <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
235 <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
236 <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
237 <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
238 <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
239 <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
240 <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
241 </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
242 <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
243 <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
244 <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
245 <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
246 </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
247 </output>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
248 </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
249 <!-- 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
250 <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
251 <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
252 <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
253 <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
254 </conditional>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
255 <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
256 <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
257 <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
258 <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
259 <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
260 <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
261 <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
262 </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
263 <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
264 <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
265 <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
266 </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
267 <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
268 <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
269 <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
270 <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
271 <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
272 </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
273 </output>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
274 </test>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
275 <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
276 <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
277 <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
278 <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
279 <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
280 <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
281 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
282 </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
283 <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
284 <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
285 <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
286 <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
287 </section>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
288 <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
289 <assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
290 <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
291 <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
292 <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
293 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
294 </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
295 <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
296 <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
297 <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
298 <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
299 <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
300 <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
301 </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
302 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
303 <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
304 <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
305 <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
306 <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
307 <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
308 </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
309 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
310 </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
311 <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
312 <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
313 <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
314 </output_collection>
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_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
316 <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
317 <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
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 </test>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
320 <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
321 <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
322 <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
323 <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
324 <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
325 <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
326 </conditional>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
327 </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
328 <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
329 <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
330 <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
331 <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
332 </section>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
333 <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
334 <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
335 <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
336 <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
337 <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
338 <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
339 </assert_contents>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
340 </output>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
341 <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
342 <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
343 <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
344 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
345 <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
346 <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
347 <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
348 </output_collection>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
349 </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
350
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
351 <!-- 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
352 <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
353 <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
354 <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
355 <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
356 <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
357 <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
358 </conditional>
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
359 </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
360 <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
361 <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
362 <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
363 <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
364 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
365 <!--
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
366 <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
367 -->
5
6c829a430475 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit a58a3198ea1b60b6aa9567c6c65f00f8361794f6"
iuc
parents: 0
diff changeset
368 </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
369 <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
370 <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
371 <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
372 <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
373 <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
374 <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
375 </conditional>
5a2656cc84cb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3f6e22f12ae0fe27cfc1d3dab576d0c10017f41e
iuc
parents: 5
diff changeset
376 </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
377 <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
378 <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
379 <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
380 </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
381 <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
382 <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
383 </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
384 <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
385 <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
386 <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
387 <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
388 </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
389 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
390 </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
391 <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
392 <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
393 <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
394 <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
395 </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
396 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
397 </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
398 </test>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
399 <!-- 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
400 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
401 <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
402 <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
403 <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
404 <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
405 <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
406 <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
407 </conditional>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
408 </conditional>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
409 <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
410 <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
411 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
412 <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
413 <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
414 <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
415 <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
416 <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
417 </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
418 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
419 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
420 </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
421 <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
422 <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
423 <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
424 <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
425 </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
426 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
427 </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
428 <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
429 <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
430 <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
431 <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
432 </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
433 </element>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
434 </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
435 </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
436 <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
437 <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
438 <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
439 <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
440 <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
441 <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
442 </conditional>
b2ae7186d41f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit c204867781d8755c7469a88c11478b15caec57b2
iuc
parents: 7
diff changeset
443 </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
444 <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
445 <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
446 <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
447 </section>
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
448 <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
449 <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
450 <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
451 <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
452 </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
453 </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
454 <!-- 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
455 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
456 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
457 <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
458 <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
459 <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
460 <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
461 <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
462 </conditional>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
463 <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
464 <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
465 <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
466 <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
467 </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
468 </output>
a3395b1d871b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 3d012f702b54172f30a49543bf7e5fff2dd71f30
iuc
parents: 9
diff changeset
469 </test>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
470 </tests>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
471 <help>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
472 <![CDATA[
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
473 **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
474
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
475 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
476 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
477
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
478 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
479
11
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
480 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
481 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
482 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
483
ac24fff14f23 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 4d7d3a56084e140f4fa63fb0e04a08b732f247f2
iuc
parents: 10
diff changeset
484 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
485 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
486 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
487 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
488 ]]>
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
489 </help>
13
1e188c9610c3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit d3fa7b70aa028f527a1dbbb210c172c637dfd4d9
iuc
parents: 12
diff changeset
490 <expand macro="citations"/>
0
1a7773882d2c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit 800d16f3bd40266d8734f4572988cb2b306b4fd3"
iuc
parents:
diff changeset
491 </tool>