annotate deseq/sam2counts.xml @ 3:a49aff09553e draft default tip

Uploaded
author nikhil-joshi
date Wed, 09 Jan 2013 18:39:12 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
1 <tool id="sam2counts" name="SAM/BAM To Counts">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
2 <description>Produce count data from SAM or BAM files</description>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
3
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
4 <requirements>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
5 <requirement type="python-module">sam2counts_galaxy.py</requirement>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
6 </requirements>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
7
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
8 <command interpreter="python">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
9 sam2counts_galaxy.py
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
10
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
11 #if str($filetype.ftype_select) == "sam":
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
12 ${first_input_sam}
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
13 #for $input_file_sam in $filetype.input_files_sam:
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
14 ${input_file_sam.additional_input_sam}
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
15 #end for
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
16 #end if
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
17
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
18 #if str($filetype.ftype_select) == "bam":
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
19 -b
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
20
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
21 ${first_input_bam}
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
22 #for $input_file_bam in $filetype.input_files_bam:
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
23 ${input_file_bam.additional_input_bam}
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
24 #end for
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
25 #end if
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
26
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
27 -o $counts
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
28 -l $colnames
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
29 </command>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
30
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
31 <inputs>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
32 <param name="colnames" type="text" size="30" label="Short names for samples" help="A comma-separated list of short names for the samples in order">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
33 <validator type="empty_field"/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
34 <validator type="regex" message="Must be a comma-separated tuple with no spaces">^(\w+,)+\w+$</validator>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
35 </param>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
36
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
37 <conditional name="filetype">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
38
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
39 <param name="ftype_select" type="select" label="Are the input files SAM or BAM format?">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
40 <option value="sam">SAM</option>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
41 <option value="bam">BAM</option>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
42 </param>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
43
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
44 <when value="sam">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
45 <param format="sam" name="first_input_sam" type="data" label="SAM file" help=""/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
46 <repeat name="input_files_sam" title="Additional SAM Files">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
47 <param format="sam" name="additional_input_sam" type="data" label="SAM file" help=""/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
48 </repeat>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
49 </when>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
50
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
51 <when value="bam">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
52 <param format="bam" name="first_input_bam" type="data" label="BAM file" help=""/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
53 <repeat name="input_files_bam" title="Additional BAM Files">
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
54 <param format="bam" name="additional_input_bam" type="data" label="BAM file" help=""/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
55 </repeat>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
56 </when>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
57
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
58 </conditional>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
59 </inputs>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
60
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
61 <outputs>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
62 <data format="tabular" name="counts"/>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
63 </outputs>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
64
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
65 <help>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
66 </help>
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
67
a49aff09553e Uploaded
nikhil-joshi
parents:
diff changeset
68 </tool>