comparison fastq_dump.xml @ 15:f5ea3ce9b9b0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
author iuc
date Tue, 10 Sep 2019 11:35:35 -0400
parents c38286ea7047
children aad3885b3216
comparison
equal deleted inserted replaced
14:1790dcf3c32d 15:f5ea3ce9b9b0
1 <tool id="fastq_dump" name="Download and Extract Reads in FASTA/Q" version="@VERSION@.3"> 1 <tool id="fastq_dump" name="Download and Extract Reads in FASTA/Q" version="@VERSION@.4">
2 <description>format from NCBI SRA</description> 2 <description>format from NCBI SRA</description>
3 <macros> 3 <macros>
4 <import>sra_macros.xml</import> 4 <import>sra_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
68 #if str( $outputformat ) == "fastqsanger.gz": 68 #if str( $outputformat ) == "fastqsanger.gz":
69 --gzip 69 --gzip
70 #elif str( $outputformat ) == "fastqsanger.bz2": 70 #elif str( $outputformat ) == "fastqsanger.bz2":
71 --bzip2 71 --bzip2
72 #end if 72 #end if
73
74 #if str($adv.table) != "":
75 --table $adv.table
76 #end if
77
78
73 #if $input.input_select=="file": 79 #if $input.input_select=="file":
74 --stdout 80 --stdout
75 "$input.file" > "$output_file" 81 "$input.file" > "$output_file"
76 82
77 #elif $input.input_select=="accession_number": 83 #elif $input.input_select=="accession_number":
78 --stdout 84 --stdout
79 "\$acc" > "$output_accession" ) 85 "\$acc" > "$output_accession" )
80 #end if 86 #end if
81 87
82 #if $input.input_select=="file_list": 88 #if $input.input_select=="file_list":
89 "\$acc"
83 ) ; done 90 ) ; done
84 91
85 ; 92 ;
86 93
87 for i in `ls *.fast* | cut -f 1 -d '_' | uniq` ; do 94 for i in `ls *.fast* | cut -f 1 -d '_' | uniq` ; do
124 <option value="redacted">redacted</option> 131 <option value="redacted">redacted</option>
125 </param> 132 </param>
126 <param name="spotgroups" type="text" label="Filter by spot-groups" optional="true" argument="--spot-groups"/> 133 <param name="spotgroups" type="text" label="Filter by spot-groups" optional="true" argument="--spot-groups"/>
127 <param name="clip" type="boolean" truevalue="--clip" falsevalue="" argument="--clip" label="Apply left and right clips" /> 134 <param name="clip" type="boolean" truevalue="--clip" falsevalue="" argument="--clip" label="Apply left and right clips" />
128 <param name="skip_technical" type="boolean" truevalue="--skip-technical" falsevalue="" checked="False" label="Dump only biological reads" argument="--skip-technical"/> 135 <param name="skip_technical" type="boolean" truevalue="--skip-technical" falsevalue="" checked="False" label="Dump only biological reads" argument="--skip-technical"/>
136 <param name="table" label="Table name within cSRA object" type="text" value="" optional="true" help="For SRA of noisy long-reads put SEQUENCE" argument="--table"/>
129 </section> 137 </section>
130 </inputs> 138 </inputs>
131 <outputs> 139 <outputs>
132 <collection name="list_paired" type="list:paired" label="Pair-end data (fastq-dump)"> 140 <collection name="list_paired" type="list:paired" label="Pair-end data (fastq-dump)">
133 <filter>input['input_select'] == "file_list"</filter> 141 <filter>input['input_select'] == "file_list"</filter>
224 <param name="file_list" value="list_se"/> 232 <param name="file_list" value="list_se"/>
225 <param name="maxID" value="5"/> 233 <param name="maxID" value="5"/>
226 <output_collection name="output_collection" type="list"> 234 <output_collection name="output_collection" type="list">
227 <element name="SRR1993644" file="SRR1993644.fastqsanger"/> 235 <element name="SRR1993644" file="SRR1993644.fastqsanger"/>
228 </output_collection> 236 </output_collection>
229 </test> 237 </test>
238 <test>
239 <param name="input_select" value="accession_number"/>
240 <param name="outputformat" value="fastqsanger.gz"/>
241 <param name="accession" value="SRR6982805"/>
242 <param name="maxID" value="2"/>
243 <param name="table" value="SEQUENCE"/>
244 <output name="output_accession" file="SRR6982805.fastqsanger.gz" ftype="fastqsanger.gz" decompress="True"/>
245 </test>
230 </tests> 246 </tests>
231 <help><![CDATA[ 247 <help><![CDATA[
232 **What it does?** 248 **What it does?**
233 249
234 This tool extracts data (in fastq_ format) from the Short Read Archive (SRA) at the National Center for Biotechnology Information (NCBI). It is based on the fastq-dump_ utility of the SRA Toolkit. 250 This tool extracts data (in fastq_ format) from the Short Read Archive (SRA) at the National Center for Biotechnology Information (NCBI). It is based on the fastq-dump_ utility of the SRA Toolkit.