annotate monorail.xml @ 5:d2d9937d1f9c draft

Uploaded
author chrisw
date Tue, 12 Feb 2019 13:51:52 -0500
parents b08c5567f2f0
children 4104eb494bf8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
1 <tool id="monorail" name="Run the Monorail RNA-seq analysis pipeline" version="0.1.0">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
2 <requirements>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
3 <requirement type="package" version="1.9">samtools</requirement>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
4 <requirement type="package" version="2.6.0b">star</requirement>
5
d2d9937d1f9c Uploaded
chrisw
parents: 3
diff changeset
5 <requirement type="package" version="0.2.6">bamcount</requirement>
1
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
6 <!-- <requirement type="package" version="5.4.0">snakemake-minimal</requirement> -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
7 </requirements>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
8 <!-- /bin/bash -x monorail.slim.sh ../ath10 4 10 ../ath10/gtf/exons.bed ./tmp2 ../fastqs/SRR8505407_1_100.fastq.gz ../fastqs/SRR8505407_2_100.fastq.gz -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
10 /bin/bash -x "$__tool_directory__/monorail.sh"
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
11 $refGenomeSource.GTFconditional.genomeDir.fields.path
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
12 \${GALAXY_SLOTS:-4}
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
13 $min_uniq_qual
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
14 $exons
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
15 ./
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
16 #if str($singlePaired.sPaired) == "paired_collection"
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
17 '$singlePaired.input.forward' '$singlePaired.input.reverse'
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
18 #else
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
19 '$singlePaired.input1'
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
20 #if str($singlePaired.sPaired) == "paired"
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
21 '$singlePaired.input2'
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
22 #end if
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
23 #end if
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
24 ]]></command>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
25 <inputs>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
26 <!-- FASTQ input(s) and options specifically for paired-end data. -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
27 <conditional name="singlePaired">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
28 <param name="sPaired" type="select" label="Single-end or paired-end reads">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
29 <option value="single" selected="true">Single-end</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
30 <option value="paired">Paired-end (as individual datasets)</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
31 <option value="paired_collection">Paired-end (as collection)</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
32 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
33 <when value="single">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
34 <param format="fastq,fastq.gz" name="input1" type="data" label="RNA-Seq FASTQ file"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
35 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
36 <when value="paired">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
37 <param format="fastq,fastq.gz" name="input1" type="data" label="RNA-Seq FASTQ file, forward reads"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
38 <param format="fastq,fastq.gz" name="input2" type="data" label="RNA-Seq FASTQ file, reverse reads"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
39 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
40 <when value="paired_collection">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
41 <param format="fastq,fastq.gz" name="input" type="data_collection" collection_type="paired" label="RNA-Seq FASTQ paired reads"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
42 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
43 </conditional>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
44
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
45 <!--
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
46 <param name="refGenomeSource" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
47 <options from_data_table="rnastar_index2">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
48 <filter type="static_value" column="4" value="0"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
49 <filter type="sort_by" column="2" />
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
50 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
51 </options>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
52 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
53 -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
54
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
55 <!-- Genome source. -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
56 <conditional name="refGenomeSource">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
57 <param name="geneSource" type="select" label="Custom or built-in reference genome" help="Built-ins were indexed using default options">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
58 <option value="indexed" selected="True">Use a built-in index</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
59 <option value="history">Use reference genome from history and create temporary index</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
60 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
61 <when value="indexed">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
62 <conditional name="GTFconditional">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
63 <param name="GTFselect" type="select" label="Reference genome with or without an annotation" help="Must the index have been created WITH a GTF file (if not you can specify one afterward).">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
64 <option value="without-gtf">use genome reference without builtin gene-model</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
65 <option value="with-gtf">use genome reference with builtin gene-model</option>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
66 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
67 <when value="with-gtf">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
68 <param name="genomeDir" argument="--genomeDir" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
69 <options from_data_table="rnastar_index2">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
70 <filter type="static_value" column="4" value="1"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
71 <filter type="sort_by" column="2" />
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
72 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
73 </options>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
74 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
75 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
76 <when value="without-gtf">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
77 <param name="genomeDir" argument="--genomeDir" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
78 <options from_data_table="rnastar_index2">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
79 <filter type="static_value" column="4" value="0"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
80 <filter type="sort_by" column="2" />
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
81 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
82 </options>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
83 </param>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
84 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
85 </conditional>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
86 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
87 <when value="history">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
88 <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" />
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
89 </when>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
90 </conditional>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
91
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
92 <param name="exons" type="data" format="bed" label="Exon annotation BED file" help="Upload/use a BED formatted list of exon intervals for quantifying"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
93 <!-- <param name="exon_annotation" type="select" label="Select an exon annotation BED file" help="If your exon annotation is not listed, contact the Galaxy team">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
94 <options from_data_table="exon_annotations">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
95 <filter type="static_value" column="4" value="0"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
96 <filter type="sort_by" column="2" />
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
97 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
98 </options>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
99 </param> -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
100 <param name="min_uniq_qual" type="integer" value="10" label="Minimum mapping quality for unique alignments" help="Set this to an appropriate integer value to filter out non-unique alignments"/>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
101 </inputs>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
102
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
103
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
104 <!-- <expand macro="dbKeyActions" /> -->
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
105 <outputs>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
106 <data format="txt" name="output_log" label="${tool.name} on ${on_string}: log" from_work_dir="Log.final.out">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
107 </data>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
108 <data format="interval" name="chimeric_junctions" label="${tool.name} on ${on_string}: chimeric junctions" from_work_dir="Chimeric.out.junction">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
109 </data>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
110
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
111 <data format="interval" name="splice_junctions" label="${tool.name} on ${on_string}: splice junctions.bed" from_work_dir="SJ.out.tab">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
112 </data>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
113 <data name="mapped_reads" format="bam" label="${tool.name} on ${on_string}: mapped.bam" from_work_dir="sorted.bam">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
114 </data>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
115 <data name="mapped_reads_index" format="bai" label="${tool.name} on ${on_string}: mapped.bam.bai" from_work_dir="sorted.bam.bai">
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
116 </data>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
117 </outputs>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
118 <help>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
119 Run the Monorail RNA-seq analysis pipeline
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
120 </help>
5c92c1163a6d Uploaded
chrisw
parents:
diff changeset
121 </tool>