Mercurial > repos > vimalkumarvelayudhan > riboplot
annotate ribocount.xml @ 36:3985e058fd63 default tip
Use latest version of riboplot from PyPI (0.2.4)
author | Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com> |
---|---|
date | Wed, 25 Nov 2015 13:04:01 +0000 |
parents | de451be99b93 |
children |
rev | line source |
---|---|
36
3985e058fd63
Use latest version of riboplot from PyPI (0.2.4)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
35
diff
changeset
|
1 <tool id="ribocount" name="ribocount" version="0.2.4"> |
3 | 2 <description>Get read counts for all transcripts in an alignment (BAM) |
3 </description> | |
4 <requirements> | |
36
3985e058fd63
Use latest version of riboplot from PyPI (0.2.4)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
35
diff
changeset
|
5 <requirement type="package" version="0.2.4">riboplot</requirement> |
3 | 6 </requirements> |
7 <stdio> | |
8 <exit_code range="1:" level="fatal" description="Error" /> | |
9 </stdio> | |
27
99dda3e39997
Attempt 4 using virtualenv
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
26
diff
changeset
|
10 <command>python \${RIBOPLOT_PATH}/ribocount |
3 | 11 --ribo_file "${ribo_file}" |
12 --transcriptome_fasta "${transcriptome_fasta}" | |
13 --read_length "${read_length}" | |
14 --read_offset "${read_offset}" | |
30
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
15 #if (str($region_select) == 'five_prime'): |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
16 --count_five |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
17 #elif (str($region_select) == 'three_prime'): |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
18 --count_three |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
19 #end if |
3 | 20 --html_file "${html_file}" |
21 --output_path "${html_file.files_path}" | |
22 ## --debug | |
23 </command> | |
24 <inputs> | |
25 <param name="ribo_file" type="data" format="bam" label="Ribo-Seq alignment file in BAM format"/> | |
26 <param name="transcriptome_fasta" type="data" format="fasta" label="FASTA format file of the transcriptome"/> | |
30
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
27 <param name="read_length" type="integer" label="Read length to consider" value="28" help="If specified, only reads of this length will be considered. |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
28 A read length of 0 will output counts for all reads"/> |
3 | 29 <param name="read_offset" type="integer" label="Offset" value="0"/> |
30
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
30 <param name="region_select" type="select" label="Which read counts to output?" |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
31 help="Output read counts for the entire transcript or restrict read counts to the region 5' or 3' of the longest ORF"> |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
32 <option value="all_reads">All reads</option> |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
33 <option value="five_prime">5' of the longest ORF</option> |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
34 <option value="three_prime">3' of the longest ORF</option> |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
35 </param> |
3 | 36 </inputs> |
37 <outputs> | |
30
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
38 <data format="html" name="html_file" label="ribocount on ${ribo_file.name} ($region_select.value_label)"/> |
3 | 39 </outputs> |
40 <help> | |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
41 **RiboCount** |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
42 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
43 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
|
44 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
45 ---- |
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 **Parameters** |
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 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
|
50 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
51 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
|
52 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
|
53 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
54 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
|
55 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
|
56 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
57 2. Transcriptome (FASTA) |
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 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
|
60 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
61 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
|
62 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
63 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
|
64 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
65 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
|
66 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
67 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
|
68 |
30
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
69 5. Restrict read counts |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
70 |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
71 Choose whether to output read counts for the entire transcript or restrict read counts to the 5' or 3' region of the longest ORF. |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
72 Default start (ATG) and stop codons ('TAG', 'TGA', 'TAA') are used to identify the longest ORF in 3 frames. |
b26c8f3b5aa6
Use latest version of riboplot from PyPI (0.2.1)
Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
parents:
29
diff
changeset
|
73 |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
74 ---- |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
75 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
76 **Output** |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
77 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
78 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
|
79 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
80 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
|
81 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
|
82 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
83 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
|
84 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
|
85 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
86 .. image:: images/ribocount.png |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
4
diff
changeset
|
87 |
3 | 88 </help> |
89 </tool> |