annotate sra_pileup.xml @ 29:ce2bb7841f17 default tip

Fix for https://github.com/mdshw5/sra-tools-galaxy/issues/1
author Matt Shirley <mdshw5@gmail.com>
date Tue, 07 Apr 2015 09:09:23 -0400
parents fdc981664a43
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
1 <tool id="sra_pileup" name="Generate pileup format" version="1.1.1">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
2 <description> from NCBI sra.</description>
25
393a04ec0fa9 Update tool requirement versions.
Matt Shirley <mdshw5@gmail.com>
parents: 2
diff changeset
3 <command>sra-pileup --log-level fatal
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
4 #if str( $region ) != "":
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
5 --aligned-region $region
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
6 #end if
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
7 #if str( $minMapq ) != "":
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
8 --minmapq $minMapq
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
9 #end if
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
10 #if $input.input_select == "file":
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
11 $input.file
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
12 #elif $input.input_select == "accession_number":
25
393a04ec0fa9 Update tool requirement versions.
Matt Shirley <mdshw5@gmail.com>
parents: 2
diff changeset
13 $input.accession
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
14 #elif $input.input_select == "text":
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
15 `cat $input.text`
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
16 #end if
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
17 > $output</command>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
18 <version_string>sra-pileup --version</version_string>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
19 <inputs>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
20 <conditional name="input">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
21 <param name="input_select" type="select" label="select input type">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
22 <option value="accession_number">SRR accession</option>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
23 <option value="file">SRA archive in current history</option>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
24 <option value="text">text file containing SRR accession</option>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
25 </param>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
26 <when value="file">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
27 <param format="sra" name="file" type="data" label="sra archive"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
28 </when>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
29 <when value="accession_number">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
30 <param format="text" name="accession" type="text" label="accession"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
31 </when>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
32 <when value="text">
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
33 <param format="txt" name="text" type="data" label="text file"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
34 </when>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
35 </conditional>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
36 <param format="text" name="region" type="text" label="aligned region"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
37 <param format="text" name="minMapq" type="text" label="minimum mapping quality"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
38 </inputs>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
39 <outputs>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
40 <data format="pileup" name="output"/>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
41 </outputs>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
42 <requirements>
25
393a04ec0fa9 Update tool requirement versions.
Matt Shirley <mdshw5@gmail.com>
parents: 2
diff changeset
43 <requirement type="package" version="2.4.5">sra_toolkit</requirement>
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
44 </requirements>
28
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
45 <tests>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
46 <test>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
47 <param name="input_select" value="accession_number"/>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
48 <param name="accession" value="SRR925743"/>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
49 <param name="region" value="17:41243452-41277500"/>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
50 <output name="output" file="sra_pileup_result.pileup" ftype="pileup" />
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
51 </test>
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
52 </tests>
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
53 <help>
28
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
54 This tool extracts reads from sra archives using sam-dump.
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
55 Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies.
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
56 The sam-dump program is developed at NCBI, and is available at: http://github.com/ncbi/sra-tools
fdc981664a43 Update to most recent GitHub version passing tests.
Matt Shirley <mdshw5@gmail.com>
parents: 25
diff changeset
57 Please submit inquiries and bug reports to http://github.com/mdshw5/sra-tools-galaxy.
2
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
58 </help>
293927a46697 Move from test tool shed
Matt Shirley <mdshw5@gmail.com>
parents:
diff changeset
59 </tool>