Mercurial > repos > matt-shirley > sra_tools
annotate sra_pileup.xml @ 38:a0925f507352 draft
bring pileup to parity with sam; fixed minMapq for sam
author | Matt Shirley <mdshw5@gmail.com> |
---|---|
date | Sun, 04 Aug 2013 23:17:53 -0400 |
parents | 4985f8c00366 |
children | 3cb113532930 |
rev | line source |
---|---|
38
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
1 <tool id="sra_pileup" name="Generate pileup format" version="1.0.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 |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
12 #else: |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
13 $input.accession |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
14 #end if |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
15 > $output</command> |
22
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
16 <version_string>sra-pileup --version</version_string> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
17 <inputs> |
38
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
18 <conditional name="input"> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
19 <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
|
20 <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
|
21 <option value="file">SRA archive in current history</option> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
22 </param> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
23 <when value="file"> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
24 <param format="sra" name="file" type="data" label="sra archive"/> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
25 </when> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
26 <when value="accession_number"> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
27 <param format="text" name="accession" type="text" label="accession"/> |
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 </conditional> |
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
30 <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
|
31 <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
|
32 </inputs> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
33 <outputs> |
38
a0925f507352
bring pileup to parity with sam; fixed minMapq for sam
Matt Shirley <mdshw5@gmail.com>
parents:
24
diff
changeset
|
34 <data format="pileup" name="output"/> |
22
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
35 </outputs> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
36 <requirements> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
37 <requirement type="package" version="2.3.2-4">sra_toolkit</requirement> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
38 </requirements> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
39 <help> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
40 This tool produces pileup format from sra archives using sra-pileup. |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
41 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
|
42 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
|
43 </help> |
423f3eb06428
more fixes for sra datatype, added sra_pileup
Matt Shirley <mdshw5@gmail.com>
parents:
diff
changeset
|
44 </tool> |