annotate datasets_gene.xml @ 0:c6009f4d7261 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
author iuc
date Thu, 15 Jul 2021 13:31:56 +0000
parents
children 48e0814f250a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
1 <tool id="datasets-download-gene" name="NCBI datasets download gene" profile="@PROFILE@" license="@LICENSE" version="@TOOL_VERSION@">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
2 <description>Download genes from NCBI</description>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
3 <macros>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
5 </macros>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
6 <expand macro="requirements"></expand>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
7 <command><![CDATA[
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
8 @SETUP_CERTIFICATES@
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
9 datasets download gene $subcommand.download_by
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
10 #if $subcommand.download_by != 'taxon':
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
11 #if $subcommand.text_or_file.text_or_file == 'text':
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
12 #if $subcommand.download_by == 'gene-id':
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
13 $subcommand.text_or_file.accession
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
14 #else if $subcommand.download_by == 'taxon':
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
15 '$subcommand.taxon'
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
16 #else
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
17 #echo " ".join(f"'{x}'" for x in $subcommand.text_or_file.accession.split(' ') if x)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
18 #end if
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
19 #if $subcommand.download_by == 'accession' and $subcommand.text_or_file.taxon_filter:
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
20 --taxon-filter '$subcommand.taxon_filter'
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
21 #end if
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
22 #else
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
23 --inputfile '$subcommand.text_or_file.inputfile'
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
24 #end if
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
25 #else:
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
26 '$subcommand.taxon'
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
27 #end if
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
28 @EXCLUDES_GENE@
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
29 #if $subcommand.download_by == 'accession' and $subcommand.include_flanks_bp:
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
30 --include-flanks-bp $subcommand.include_flanks_bp
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
31 #end if
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
32 && 7z x ncbi_dataset.zip
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
33 ]]></command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
34 <inputs>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
35 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
36 <param name="download_by" type="select" label="Choose how to find genomes to download">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
37 <option value="gene-id">Download a gene dataset by NCBI Gene ID</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
38 <option value="symbol">Download a gene dataset by gene symbol</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
39 <option value="accession">Download a gene dataset by RefSeq nucleotide or protein accession</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
40 <option value="taxon">Download a gene dataset by taxon</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
41 </param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
42 <when value="gene-id">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
43 <expand macro="text_or_file" what="gene-id" what_extended="NCBI Gene ID" help="Should be valid NCBI Gene ID">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
44 <sanitizer invalid_char="">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
45 <valid initial="string.digits">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
46 <add value=" " />
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
47 </valid>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
48 </sanitizer>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
49 </expand>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
50 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
51 <when value="symbol">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
52 <expand macro="text_or_file" what="symbol" what_extended="gene symbol" help="Should be valid gene symbol"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
53 <param argument="--taxon" type="text" value="human" label="Specify a species name" help="Species name can be common or scientific name or species-level NCBI Taxonomy ID"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
54 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
55 <when value="accession">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
56 <expand macro="text_or_file" what="accession" what_extended="RefSeq nucleotide or protein accession" help="Should be RefSeq nucleotide or protein accession"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
57 <param argument="--include-flanks-bp" type="integer" optional="true" min="0" label="Include gene flanking sequence, limited to prokaryotic genes" help="If not specified flanking gene sequences will not be downloaded. Accession must start with WP"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
58 <param argument="--taxon-filter" type="text" optional="true" label="limit genes to a specified taxon" help="any rank"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
59 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
60 <when value="taxon">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
61 <param name="taxon" type="text" label="Enter taxon" help="e.g. human, mouse, bos taurs, etc."></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
62 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
63 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
64 <expand macro="excludes_gene"></expand>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
65 <conditional name="limit_fasta" label="Limit fasta by accession?">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
66 <param name="limit" type="select" label="Select limit method">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
67 <option value="none">None</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
68 <option value="text">Enter list of accessions</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
69 <option value="file">Read list of accessions from file</option>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
70 </param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
71 <when value="none">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
72 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
73 <when value="text">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
74 <param argument="--fasta-filter" type="text" label="Limit gene fasta download to these accessions"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
75 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
76 <when value="file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
77 <param argument="--fasta-filter-file" type="data" format="txt" label="File of accessions to limit gene fasta download"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
78 </when>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
79 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
80 </inputs>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
81 <outputs>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
82 <data name="gene_fasta" format="fasta" label="NCBI datasets gene: gene fasta" from_work_dir="ncbi_dataset/data/gene.fna">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
83 <filter>not exclude_gene</filter>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
84 </data>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
85 <data name="protein_fasta" format="fasta" label="NCBI datasets gene: protein fasta" from_work_dir="ncbi_dataset/data/protein.faa">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
86 <filter>not exclude_protein</filter>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
87 </data>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
88 <data name="rna_fasta" format="fasta" label="NCBI datasets gene: rna fasta" from_work_dir="ncbi_dataset/data/rna.fna">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
89 <filter>not exclude_rna</filter>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
90 </data>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
91 <data name="gene_flanks" format="fasta" label="NCBI datasets gene: flanking sequence fasta" from_work_dir="ncbi_dataset/data/gene_flank.fna">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
92 <filter><![CDATA[subcommand['include_flanks_bp']]]></filter>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
93 </data>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
94 </outputs>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
95 <tests>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
96 <test title="test download by gene-id">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
97 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
98 <param name="download_by" value="gene-id"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
99 <conditional name="text_or_file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
100 <param name="text_or_file" value="text"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
101 <param name="accession" value="472 672"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
102 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
103 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
104 <output name="gene_fasta">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
105 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
106 <has_line line="CCGCGTCCGCGCTTACCCAATACAAGCCGGGCTACGTCCGAGGGTAACAACATGATCAAAACCACAGCAG"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
107 <has_line line="GCTGAGACTTCCTGGACGGGGGACAGGCTGTGGGGTTTCTCAGATAACTGGGCCCCTGCGCTCAGGAGGC"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
108 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
109 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
110 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
111 <test title="test download by gene-id, test sanitizer">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
112 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
113 <param name="download_by" value="gene-id"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
114 <conditional name="text_or_file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
115 <param name="text_or_file" value="text"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
116 <param name="accession" value="472 672"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
117 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
118 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
119 <output name="gene_fasta">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
120 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
121 <has_line line="CCGCGTCCGCGCTTACCCAATACAAGCCGGGCTACGTCCGAGGGTAACAACATGATCAAAACCACAGCAG"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
122 <has_line line="GCTGAGACTTCCTGGACGGGGGACAGGCTGTGGGGTTTCTCAGATAACTGGGCCCCTGCGCTCAGGAGGC"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
123 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
124 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
125 <assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
126 <not_has_text text="exit"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
127 </assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
128 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
129 <test title="test download by gene symbol">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
130 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
131 <param name="download_by" value="symbol"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
132 <conditional name="text_or_file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
133 <param name="text_or_file" value="text"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
134 <param name="accession" value="BRCA1 ATM"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
135 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
136 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
137 <output name="gene_fasta">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
138 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
139 <has_line line="CCGCGTCCGCGCTTACCCAATACAAGCCGGGCTACGTCCGAGGGTAACAACATGATCAAAACCACAGCAG"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
140 <has_line line="GCTGAGACTTCCTGGACGGGGGACAGGCTGTGGGGTTTCTCAGATAACTGGGCCCCTGCGCTCAGGAGGC"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
141 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
142 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
143 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
144 <test title="test download by accession">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
145 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
146 <param name="download_by" value="accession"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
147 <conditional name="text_or_file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
148 <param name="text_or_file" value="text"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
149 <param name="accession" value="NM_000546.6 NM_000492.4"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
150 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
151 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
152 <output name="gene_fasta">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
153 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
154 <has_line line="GTAGTAGGTCTTTGGCATTAGGAGCTTGAGCCCAGACGGCCCTAGCAGGGACCCCAGCGCCCGAGAGACC"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
155 <has_line line="CTCAAAAGTCTAGAGCCACCGTCCAGGGAGCAGGTAGCTGCTGGGCTCCGGGGACACTTTGCGTTCGGGC"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
156 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
157 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
158 <assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
159 <has_text text="'NM_000546.6' 'NM_000492.4'"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
160 </assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
161 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
162 <test title="test download by accession with flanking sequence">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
163 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
164 <param name="download_by" value="accession"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
165 <conditional name="text_or_file">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
166 <param name="text_or_file" value="text"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
167 <param name="accession" value="WP_004675351.1"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
168 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
169 <param name="include_flanks_bp" value="10"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
170 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
171 <output name="gene_flanks">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
172 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
173 <has_line line="gccctgccgcATGATCGATCTGATGCCGACGAGCGAGGAACAGGCGGCGGCGATCGTCCGCACCCATGCG"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
174 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
175 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
176 <assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
177 <has_text text="--include-flanks-bp 10"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
178 </assert_command>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
179 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
180 <test title="test download by taxon">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
181 <conditional name="subcommand">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
182 <param name="download_by" value="taxon"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
183 <param name="taxon" value="Mycobacterium tuberculosis H37Rv"></param>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
184 </conditional>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
185 <param name="exclude_rna" value="true"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
186 <param name="exclude_protein" value="true"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
187 <output name="gene_fasta">
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
188 <assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
189 <has_line line="GTGGCGCTGAATATCAAAGACCCTGAGGTAGACCGACTAGCCGCCGAACTCGCTGACCGGCTGCACACCA"/>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
190 </assert_contents>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
191 </output>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
192 </test>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
193 </tests>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
194 <help>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
195 Download a gene dataset including gene, transcript and protein sequence, a data table and a data report. Gene datasets can be specified by NCBI Gene ID, symbol or RefSeq accession. Datasets are downloaded as a zip file.
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
196
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
197 The default gene dataset includes the following files:
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
198 * gene.fna (gene sequences)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
199 * rna.fna (transcript sequences)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
200 * protein.faa (protein sequences)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
201 * data_report.jsonl (data report with gene metadata)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
202 * data_table.tsv (data table with gene metadata, one transcript per row)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
203 * dataset_catalog.json (a list of files and file types included in the dataset)
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
204 </help>
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
205
c6009f4d7261 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
iuc
parents:
diff changeset
206 </tool>