annotate ribocount.xml @ 21:3429405e2ce1

Add toolshed URL link in tool dependencies
author Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
date Mon, 31 Aug 2015 14:54:40 +0100
parents cff63cf0dea8
children e623f4daf567
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
1 <tool id="ribocount" name="ribocount" version="0.1.0">
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
2 <description>Get read counts for all transcripts in an alignment (BAM)
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
3 </description>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
4 <requirements>
18
cff63cf0dea8 Update tool_dependencies to install package from pip
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 8
diff changeset
5 <requirement type="package" version="0.1.0">riboplot</requirement>
3
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
6 </requirements>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
7 <stdio>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
8 <exit_code range="1:" level="fatal" description="Error" />
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
9 </stdio>
18
cff63cf0dea8 Update tool_dependencies to install package from pip
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 8
diff changeset
10 <command interpreter="python">ribocount
3
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
11 --ribo_file "${ribo_file}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
12 --transcriptome_fasta "${transcriptome_fasta}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
13 --read_length "${read_length}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
14 --read_offset "${read_offset}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
15 --html_file "${html_file}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
16 --output_path "${html_file.files_path}"
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
17 ## --debug
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
18 </command>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
19 <inputs>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
20 <param name="ribo_file" type="data" format="bam" label="Ribo-Seq alignment file in BAM format"/>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
21 <param name="transcriptome_fasta" type="data" format="fasta" label="FASTA format file of the transcriptome"/>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
22 <param name="read_length" type="integer" label="Read length to consider" value="28"/>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
23 <param name="read_offset" type="integer" label="Offset" value="0"/>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
24 </inputs>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
25 <outputs>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
26 <data format="html" name="html_file" label="ribocount (HTML report)"/>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
27 </outputs>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
28 <help>
8
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
29 **RiboCount**
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
30
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
31 Output read counts for all transcripts in an alignment.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
32
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
33 ----
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
34
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
35 **Parameters**
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
36
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
37 1. Ribo-Seq alignment file (Sorted BAM file)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
38
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
39 A Bowtie 1 output (BAM) from an alignment of Ribo-Seq data to the transcriptome. This BAM
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
40 file should be sorted. This can be done using one of the following methods.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
41
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
42 1. RiboGalaxy -> Sort Data -> Sort BAM dataset.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
43 2. ``samtools sort input.bam inputsorted``
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
44
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
45 2. Transcriptome (FASTA)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
46
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
47 A FASTA format file with sequences of the transcripts.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
48
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
49 3. Read lengths to consider [optional] (Integer - 0 or greater)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
50
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
51 If this option is provided, only Ribo-Seq data of the given length is considered.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
52
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
53 4. Offset [optional] (Integer - 0 or greater)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
54
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
55 If this option is provided, this offset is added to the read alignment positions.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
56
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
57 ----
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
58
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
59 **Output**
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
60
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
61 Read counts for all transcripts in the alignment (ZIP)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
62
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
63 The output file ``ribocount_output.zip`` should first be uncompressed. This will generate
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
64 a folder called ``ribocount_output``. Open ``index.html`` in a web browser to view the results of ribocount.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
65
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
66 Total reads for each transcript will be displayed in a table along with the name of the transcript and a link
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
67 to the CSV file containing the read counts in 3 frames for each position in the transcript.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
68
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
69 .. image:: images/ribocount.png
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 4
diff changeset
70
3
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
71 </help>
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
72 </tool>