annotate sra_pileup.xml @ 47:04cc8176e86f draft default tip

update to SRA toolkit 2.3.3-3
author Matt Shirley <mdshw5@gmail.com>
date Mon, 16 Sep 2013 20:27:28 -0400
parents 88a13a2fd23f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
04cc8176e86f update to SRA toolkit 2.3.3-3
Matt Shirley <mdshw5@gmail.com>
parents: 46
diff changeset
1 <tool id="sra_pileup" name="Generate pileup format" version="1.1.1">
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
2 <description> from NCBI sra.</description>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
3 <command>sra-pileup --log-level fatal
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
4 #if str( $region ) != "":
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
5 --aligned-region $region
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
6 #end if
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
7 #if str( $minMapq ) != "":
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
8 --minmapq $minMapq
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
9 #end if
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
10 #if $input.input_select == "file":
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
11 $input.file
45
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
12 #elif $input.input_select == "accession_number":
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
13 $input.accession
45
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
14 #elif $input.input_select == "text":
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
15 `cat $input.text`
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
16 #end if
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
17 > $output</command>
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
18 <version_string>sra-pileup --version</version_string>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
19 <inputs>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
20 <conditional name="input">
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
21 <param name="input_select" type="select" label="select input type">
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
22 <option value="accession_number">SRR accession</option>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
23 <option value="file">SRA archive in current history</option>
45
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
24 <option value="text">text file containing SRR accession</option>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
25 </param>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
26 <when value="file">
45
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
27 <param format="sra" name="file" type="data" label="sra archive"/>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
28 </when>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
29 <when value="accession_number">
45
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
30 <param format="text" name="accession" type="text" label="accession"/>
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
31 </when>
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
32 <when value="text">
3cb113532930 sea pileup accept text input
Matt Shirley <mdshw5@gmail.com>
parents: 38
diff changeset
33 <param format="txt" name="text" type="data" label="text file"/>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
34 </when>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
35 </conditional>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
36 <param format="text" name="region" type="text" label="aligned region"/>
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
37 <param format="text" name="minMapq" type="text" label="minimum mapping quality"/>
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
38 </inputs>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
39 <outputs>
38
a0925f507352 bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents: 24
diff changeset
40 <data format="pileup" name="output"/>
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
41 </outputs>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
42 <requirements>
47
04cc8176e86f update to SRA toolkit 2.3.3-3
Matt Shirley <mdshw5@gmail.com>
parents: 46
diff changeset
43 <requirement type="package" version="2.3.3-3">sra_toolkit</requirement>
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
44 </requirements>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
45 <help>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
46 This tool produces pileup format from sra archives using sra-pileup.
46
88a13a2fd23f Disable caching, update descriptions, prune deprecated tools.
Matt Shirley <mdshw5@gmail.com>
parents: 45
diff changeset
47 Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies.
22
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
48 The sra-pileup 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:
diff changeset
49 Contact Matt Shirley at mdshw5@gmail.com for support and bug reports.
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
50 </help>
423f3eb06428 more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
51 </tool>