Mercurial > repos > matt-shirley > sra_tools
annotate fastq_dump.xml @ 36:b5274b0e61bc draft
variable typos
| author | Matt Shirley <mdshw5@gmail.com> |
|---|---|
| date | Sun, 30 Jun 2013 19:50:44 -0400 |
| parents | a93bb9eb93c5 |
| children | 4da2d7f0128e |
| 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> |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
4 fastq-dump --log-level fatal |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
5 #if $input.input_select == "file": |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
6 --accession '${input.file.name}' |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
7 #else: |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
8 --accession $input.accession |
|
26
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
9 #end if |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
10 --stdout |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
11 $split |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
12 $aligned |
| 36 | 13 #if str( $minID ) != "": |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
14 --minSpotId $minID |
|
35
a93bb9eb93c5
properly end conditional statements
Matt Shirley <mdshw5@gmail.com>
parents:
34
diff
changeset
|
15 #end if |
| 36 | 16 #if str( $maxID ) != "": |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
17 --minSpotId $maxID |
|
35
a93bb9eb93c5
properly end conditional statements
Matt Shirley <mdshw5@gmail.com>
parents:
34
diff
changeset
|
18 #end if |
| 36 | 19 #if str( $minlen ) != "": |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
20 --minReadLen $minlen |
|
35
a93bb9eb93c5
properly end conditional statements
Matt Shirley <mdshw5@gmail.com>
parents:
34
diff
changeset
|
21 #end if |
| 36 | 22 #if str( $readfilter ) != "": |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
23 --read-filter $readfilter |
|
35
a93bb9eb93c5
properly end conditional statements
Matt Shirley <mdshw5@gmail.com>
parents:
34
diff
changeset
|
24 #end if |
| 36 | 25 #if str( $region ) != "": |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
26 --aligned-region $region |
|
35
a93bb9eb93c5
properly end conditional statements
Matt Shirley <mdshw5@gmail.com>
parents:
34
diff
changeset
|
27 #end if |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
28 #if $input.input_select=="file": |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
29 $input.file |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
30 #else: |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
31 $input.accession |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
32 #end if |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
33 > $output |
|
26
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
34 </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
|
35 <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
|
36 <inputs> |
|
26
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
37 <conditional name="input"> |
|
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
38 <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
|
39 <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
|
40 <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
|
41 </param> |
|
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
42 <when value="file"> |
|
28
996add6daf36
debug prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
27
diff
changeset
|
43 <param format="sra" name="file" type="data" label="sra archive"/> |
|
26
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
44 </when> |
|
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
45 <when value="accession_number"> |
|
28
996add6daf36
debug prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
27
diff
changeset
|
46 <param format="text" name="accession" type="text" label="accession"/> |
|
26
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
47 </when> |
|
5f57967aac3e
implement prefetch caching and accession input for fastq_dump
Matt Shirley <mdshw5@gmail.com>
parents:
22
diff
changeset
|
48 </conditional> |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
49 <param format="text" name="minID" type="text" label="Minimum spot ID"/> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
50 <param format="text" name="maxID" type="text" label="Maximum spot ID"/> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
51 <param format="text" name="minlen" type="text" label="Minimum read length"/> |
|
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
|
52 <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
|
53 <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
|
54 <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
|
55 <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
|
56 </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
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </param> |
|
34
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
63 <param format="text" name="region" type="text" label="Aligned region"/> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
64 <param format="text" name="readfilter" type="select" value=""> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
65 <label>Filter by value</label> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
66 <option value="">None</option> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
67 <option value="pass">pass</option> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
68 <option value="reject">reject</option> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
69 <option value="criteria">criteria</option> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
70 <option value="redacted">redacted</option> |
|
7803126704c6
exposed many more options for fastq-dump
Matt Shirley <mdshw5@gmail.com>
parents:
33
diff
changeset
|
71 </param> |
|
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
|
72 </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
|
73 <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
|
74 <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
|
75 </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
|
76 <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
|
77 <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
|
78 </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
|
79 <requirements> |
|
11
cdba74ec9eca
updated sra_toolkit dependency in <requirements>
Matt Shirley <mdshw5@gmail.com>
parents:
1
diff
changeset
|
80 <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
|
81 </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
|
82 <help> |
|
22
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
21
diff
changeset
|
83 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
|
84 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
|
85 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
|
86 </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
|
87 </tool> |
