Mercurial > repos > vimalkumarvelayudhan > riboplot
annotate docs/usage.rst @ 15:b78a5ba760b1
Update README, add new sample image
author | Vimalkumar Velayudhan <vimal@biotechcoder.com> |
---|---|
date | Thu, 27 Aug 2015 12:52:48 +0100 |
parents | 628f82e72d72 |
children |
rev | line source |
---|---|
10
8964641b04ef
Fix usage link
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
8
diff
changeset
|
1 .. _usage: |
8964641b04ef
Fix usage link
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
8
diff
changeset
|
2 |
8964641b04ef
Fix usage link
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
8
diff
changeset
|
3 ===== |
3 | 4 Usage |
10
8964641b04ef
Fix usage link
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
8
diff
changeset
|
5 ===== |
3 | 6 |
7
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
7 RiboPlot |
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
8 -------- |
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
9 Plot and output Ribo-Seq read counts of a single transcript from an alignment file (sorted BAM). |
3 | 10 |
7
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
11 Parameters |
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
12 .......... |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
13 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
14 1. Ribo-Seq alignment file (Sorted BAM file) |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
15 ++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
16 A Bowtie 1 output (BAM) from an alignment of Ribo-Seq data to the transcriptome. This BAM |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
17 file should be sorted. This can be done using one of the following methods. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
18 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
19 1. RiboGalaxy_ -> Sort Data -> Sort BAM dataset. |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
20 2. ``samtools sort input.bam inputsorted`` |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
21 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
22 2. Transcriptome (FASTA) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
23 ++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
24 A FASTA format file with sequences of the transcripts. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
25 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
26 3. Name of the transcript to plot (Text) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
27 ++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
28 The name of the transcript to plot **should** match the name in the transcriptome (FASTA) |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
29 and the Ribo-Seq/RNA-Seq alignment (BAM). |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
30 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
31 4. RNA coverage [optional] (Sorted BAM file) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
32 ++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
33 If you have RNA-Seq data (sorted BAM), you can select the option to plot RNA coverage. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
34 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
35 5. Read lengths to consider [Optional] (Integer - 0 or greater) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
36 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
37 If this option is provided, only Ribo-Seq data of the given length is considered. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
38 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
39 6. Offset [optional] (Integer - 0 or greater) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
40 +++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
41 If this option is provided, this offset is added to the read alignment positions. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
42 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
43 Output |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
44 ...... |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
45 1. Plots (PNG and SVG) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
46 ++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
47 Ribo-Seq read counts as a bar plot in 3 frames (color codes: 1: red, 2: green, 3: blue) |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
48 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
49 RNA coverage as a gray background (if the RNA coverage option was selected). |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
50 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
51 The open reading frame architecture appears below the plot with start (ATG) and stop codons ('TAA', 'TAG', 'TGA') in all 3 frames. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
52 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
53 The color codes are start (white) and stop (dark gray). |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
54 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
55 .. image:: ../images/riboplot.png |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
56 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
57 2. RiboSeq read counts (CSV) |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
58 ++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
59 In 3 frames for each position in the transcript. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
60 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
61 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
62 Command line |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
63 ............ |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
64 ``riboplot`` can also be run on the command line. The usage is :: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
65 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
66 usage: riboplot [-h] -b RIBO_FILE -f TRANSCRIPTOME_FASTA -t TEXT |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
67 [-n RNA_FILE] [-l INTEGER] [-s INTEGER] [-m HTML_FILE] |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
68 [-o OUTPUT_PATH] [-d] |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
69 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
70 Plot and output read counts for a single transcript |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
71 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
72 optional arguments: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
73 -h, --help |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
74 show this help message and exit |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
75 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
76 -n RNA_FILE, --rna_file RNA_FILE |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
77 RNA-Seq alignment file (BAM) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
78 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
79 -l INTEGER, --read_length INTEGER |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
80 Read length to consider (default: None) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
81 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
82 -s INTEGER, --read_offset INTEGER |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
83 Read offset (default: 0) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
84 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
85 -m HTML_FILE, --html_file HTML_FILE |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
86 Output file for results (HTML) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
87 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
88 -o OUTPUT_PATH, --output_path OUTPUT_PATH |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
89 Files are saved in this directory |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
90 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
91 -d, --debug |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
92 Flag. Produce debug output |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
93 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
94 required arguments: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
95 -b RIBO_FILE, --ribo_file RIBO_FILE |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
96 Ribo-Seq alignment file in BAM format |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
97 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
98 -f TRANSCRIPTOME_FASTA, --transcriptome_fasta TRANSCRIPTOME_FASTA |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
99 FASTA format file of the transcriptome |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
100 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
101 -t TEXT, --transcript_name TEXT |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
102 Transcript name |
7
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
103 |
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
104 RiboCount |
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
105 --------- |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
106 Output read counts for all transcripts in an alignment. |
7
096c6bbf4a04
Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
107 |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
108 Parameters |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
109 .......... |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
110 1. Ribo-Seq alignment file (Sorted BAM file) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
111 ++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
112 A Bowtie 1 output (BAM) from an alignment of Ribo-Seq data to the transcriptome. This BAM |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
113 file should be sorted. This can be done using one of the following methods. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
114 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
115 1. RiboGalaxy_ -> Sort Data -> Sort BAM dataset. |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
116 2. ``samtools sort input.bam inputsorted`` |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
117 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
118 2. Transcriptome (FASTA) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
119 ++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
120 A FASTA format file with sequences of the transcripts. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
121 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
122 3. Read lengths to consider [optional] (Integer - 0 or greater) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
124 If this option is provided, only Ribo-Seq data of the given length is considered. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
125 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
126 4. Offset [optional] (Integer - 0 or greater) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
127 +++++++++++++++++++++++++++++++++++++++++++++ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
128 If this option is provided, this offset is added to the read alignment positions. |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
129 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
130 Output |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
131 ...... |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
132 Read counts for all transcripts in the alignment (ZIP) |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
134 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:
7
diff
changeset
|
135 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:
7
diff
changeset
|
136 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
137 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:
7
diff
changeset
|
138 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:
7
diff
changeset
|
139 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
140 .. image:: ../images/ribocount.png |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
141 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
142 Command line |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
143 ............ |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
144 ``ribocount`` can also be run on the command line. The usage is :: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
145 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
146 usage: ribocount [-h] -b RIBO_FILE -f TRANSCRIPTOME_FASTA [-l INTEGER] |
8
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
147 [-s INTEGER] [-m HTML_FILE] [-o OUTPUT_PATH] [-d] |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
148 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
149 Output read counts for all transcripts |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
150 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
151 optional arguments: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
152 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
153 -h, --help show this help message and exit |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
154 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
155 -l INTEGER, --read_length INTEGER |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
156 Read length to consider (default: None) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
157 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
158 -s INTEGER, --read_offset INTEGER |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
159 Read offset (default: 0) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
160 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
161 -m HTML_FILE, --html_file HTML_FILE |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
162 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
163 Output file for results (HTML) |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
164 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
165 -o OUTPUT_PATH, --output_path OUTPUT_PATH |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
166 Files are saved in this directory |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
167 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
168 -d, --debug Flag. Produce debug output |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
169 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
170 required arguments: |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
171 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
172 -b RIBO_FILE, --ribo_file RIBO_FILE |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
173 Ribo-Seq alignment file in BAM format |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
174 |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
175 -f TRANSCRIPTOME_FASTA, --transcriptome_fasta TRANSCRIPTOME_FASTA |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
176 FASTA format file of the transcriptome |
844eb8c36f32
Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
7
diff
changeset
|
177 |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
178 .. links |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
179 .. _RiboGalaxy: http://ribogalaxy.ucc.ie |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
10
diff
changeset
|
180 |