annotate sam2counts_galaxy_edger.xml @ 1:a2ef5d59bd6e draft default tip

Uploaded
author nikhil-joshi
date Thu, 22 Jan 2015 03:54:56 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
1 <tool id="sam2counts_edger" name="SAM/BAM To Counts">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
2 <requirements>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
3 <requirement version="2.7">python</requirement>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
4 </requirements>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
5 <description> - Create a digital expression matrix by counting reads aligned to transcripts</description>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
6 <command interpreter="python">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
7 sam2counts_galaxy_edger.py
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
8 ## Inputs.
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
9 #set $gnum=1
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
10 #for $group in $group_analysis
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
11 --group G$gnum --treatment '${group.group}' --sample-name '${group.sample_init}'
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
12 --bam-file ${group.file_init} --file-type ${group.file_init.ext}
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
13 #for $input_files in $group.input_files:
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
14 --group G$gnum --treatment '${group.group}' --sample-name '${input_files.sample}'
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
15 --bam-file ${input_files.file} --file-type ${group.file_init.ext}
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
16 #end for
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
17 #set $gnum = $gnum + 1
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
18 #end for
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
19
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
20 $use_ref
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
21
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
22 -o $output
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
23 </command>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
24
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
25 <inputs>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
26 <param name="use_ref" type="boolean" label="Files have headers?" checked="true" truevalue="" falsevalue="-r" />
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
27
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
28 <repeat name="group_analysis" title="Group" min="1" default="1">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
29 <param name="group" title="Group name" type="text" optional="false" label="Group name (no spaces, commas, or quotes)">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
30 <validator type="empty_field" />
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
31 <validator type="regex" message="No spaces, commas, or quotes allowed">^[^\s,\'\"]+$</validator>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
32 </param>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
33 <param name="sample_init" title="Sample name" type="text" optional="false" label="Sample name (no spaces, commas, or quotes)">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
34 <validator type="empty_field" />
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
35 <validator type="regex" message="No spaces, commas, or quotes allowed">^[^\s,\'\"]+$</validator>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
36 </param>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
37 <param format="sam,bam" name="file_init" type="data" label="SAM/BAM File" optional="false" help="">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
38 <validator type="empty_field" />
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
39 </param>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
40 <repeat name="input_files" title="Replicate" min="1" default="1">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
41 <param name="sample" title="Sample name" type="text" optional="false" label="Sample name (no spaces, commas, or quotes)">
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
42 <validator type="empty_field" />
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
43 <validator type="regex" message="No spaces, commas, or quotes allowed">^[^\s,\'\"]+$</validator>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
44 </param>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
45 <param format="sam,bam" name="file" type="data" label="Add file" help=""/>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
46 </repeat>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
47 </repeat>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
48 </inputs>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
49
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
50 <outputs>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
51 <data format="tabular" name="output" label="Read Counts for ${tool.name} on ${on_string}"/>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
52 </outputs>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
53
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
54 <help>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
55 Sample names must be unique.
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
56 </help>
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
57
a2ef5d59bd6e Uploaded
nikhil-joshi
parents:
diff changeset
58 </tool>