annotate fastq_dump.xml @ 27:2295c666e6ce draft

debug prefetch caching and accession input for fastq_dump
author Matt Shirley <mdshw5@gmail.com>
date Sat, 29 Jun 2013 15:49:44 -0400
parents 5f57967aac3e
children 996add6daf36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
1 <tool id="fastq_dump" name="Extract fastq" version="1.0.3">
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents: 21
diff changeset
2 <description> format reads from NCBI sra.</description>
26
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
3 <command>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
4 #if $input.input_select=="file"
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
5 fastq-dump --log-level fatal --accession '${input.sra.name}' --stdout $split $aligned $input.sra > $output
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
6 #else
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
7 fastq-dump --log-level fatal --accession $input.accession --stdout $split $aligned $input.accession > $output
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
8 #end if
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
9 </command>
0
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
10 <version_string>fastq-dump --version</version_string>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
11 <inputs>
26
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
12 <conditional name="input">
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
13 <param name="input_select" type="select" label="Select input type">
27
2295c666e6ce debug prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 26
diff changeset
14 <option value="accession_number">SRR accession</option>
2295c666e6ce debug prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 26
diff changeset
15 <option value="file">SRA archive in current history</option>
26
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
16 </param>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
17 <when value="file">
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
18 <param format="sra" name="input" type="data" label="sra archive"/>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
19 </when>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
20 <when value="accession_number">
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
21 <param format="text" name="input" type="text" label="accession"/>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
22 </when>
5f57967aac3e implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents: 22
diff changeset
23 </conditional>
0
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
24 <param format="text" name="split" type="select" value="">
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
25 <label>Split read pairs</label>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
26 <option value="">No</option>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
27 <option value="--split-spot">Yes</option>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
28 </param>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
29 <param format="text" name="aligned" type="select" value="">
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
30 <label>Specify alignment</label>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
31 <option value="">All</option>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
32 <option value="--aligned">Only aligned</option>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
33 <option value="--unaligned">Only unaligned</option>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
34 </param>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
35 </inputs>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
36 <outputs>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
37 <data format="fastqsanger" name="output"/>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
38 </outputs>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
39 <stdio>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
40 <exit_code range="127" level="fatal" description="Cannot find fastq-dump binary"/>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
41 </stdio>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
42 <requirements>
11
cdba74ec9eca updated sra_toolkit dependency in <requirements>
Matt Shirley <mdshw5@gmail.com>
parents: 1
diff changeset
43 <requirement type="package" version="2.3.2-4">sra_toolkit</requirement>
0
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
44 </requirements>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
45 <help>
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents: 21
diff changeset
46 This tool extracts fastq format reads from sra archives using fastq-dump.
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents: 21
diff changeset
47 The fastq-dump program is developed at NCBI, and is available at: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software.
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents: 21
diff changeset
48 Contact Matt Shirley at mdshw5@gmail.com for support and bug reports.
0
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
49 </help>
ffdd41766195 Initial version - still need to test if datatype works correctly, and implement scripted download of SRA binaries.
matt-shirley <mdshw5@gmail.com>
parents:
diff changeset
50 </tool>