annotate docs/usage.rst @ 10:8964641b04ef

Fix usage link
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Mon, 17 Aug 2015 10:51:58 +0100
parents 844eb8c36f32
children 628f82e72d72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
4 Usage
10
8964641b04ef Fix usage link
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 8
diff changeset
5 =====
3
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
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
8e1efafa6277 Updated version
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
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 1. Ribo-Seq alignment file (Sorted BAM file)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
14
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
15 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: 7
diff changeset
16 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: 7
diff changeset
17
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
18 1. RiboGalaxy -> Sort Data -> Sort BAM dataset.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
19 2. ``samtools sort input.bam inputsorted``
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
20
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
21 2. Transcriptome (FASTA)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
22
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
23 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: 7
diff changeset
24
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
25 3. Name of the transcript to plot (Text)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
26
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
27 The name of the transcript to plot **should** match the name in the transcriptome (FASTA)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
28 and the Ribo-Seq/RNA-Seq alignment (BAM).
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
29
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
30 4. RNA coverage [optional] (Sorted BAM file)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
31
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
32 If you have RNA-Seq data (sorted BAM), you can select the option to plot RNA coverage.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
33
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
34 5. 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: 7
diff changeset
35
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
36 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: 7
diff changeset
37
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
38 6. Offset [optional] (Integer - 0 or greater)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
39
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
40 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: 7
diff changeset
41
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
42 Output
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
43 ......
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
44 1. Plots (PNG and SVG)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
45
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
46 Ribo-Seq read counts as a bar plot in 3 frames (color codes: 1: red, 2: green, 3: blue)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
47
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
48 RNA coverage as a gray background (if the RNA coverage option was selected).
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
49
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
50 The open reading frame architecture appears below the plot with start (ATG) and stop codons ('TAA', 'TAG', 'TGA') in all 3 frames.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
51
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
52 The color codes are start (white) and stop (dark gray).
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
53
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
54 .. image:: ../images/riboplot.png
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
55
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
56 2. RiboSeq read counts in 3 frames for each position in the transcript (CSV)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
57
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
58
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
59 Command line
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 ``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
62
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
63 usage: python riboplot.py [-h] -b RIBO_FILE -f TRANSCRIPTOME_FASTA -t TEXT
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
64 [-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
65 [-o OUTPUT_PATH] [-d]
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
66
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
67 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
68
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
69 optional arguments:
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
70 -h, --help
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
71 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
72
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
73 -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
74 RNA-Seq alignment file (BAM)
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 -l INTEGER, --read_length INTEGER
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
77 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
78
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
79 -s INTEGER, --read_offset INTEGER
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
80 Read offset (default: 0)
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 -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
83 Output file for results (HTML)
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 -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
86 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
87
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
88 -d, --debug
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
89 Flag. Produce debug output
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 required arguments:
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
92 -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
93 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
94
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
95 -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
96 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
97
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
98 -t TEXT, --transcript_name TEXT
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
99 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
100
096c6bbf4a04 Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 3
diff changeset
101 RiboCount
096c6bbf4a04 Bugfix: (ribocounts) Read length was sent as rnafile argument in check_optional_arguments
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 3
diff changeset
102 ---------
8
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
103 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
104
8
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
105 Parameters
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
106 ..........
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
107 1. Ribo-Seq alignment file (Sorted BAM file)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
108
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
109 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: 7
diff changeset
110 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: 7
diff changeset
111
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
112 1. RiboGalaxy -> Sort Data -> Sort BAM dataset.
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
113 2. ``samtools sort input.bam inputsorted``
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
114
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
115 2. Transcriptome (FASTA)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
116
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
117 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: 7
diff changeset
118
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
119 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: 7
diff changeset
120
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
121 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: 7
diff changeset
122
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
123 4. Offset [optional] (Integer - 0 or greater)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
124
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
125 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: 7
diff changeset
126
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
127 Output
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
128 ......
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
129 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: 7
diff changeset
130
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
131 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
132 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
133
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
134 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
135 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
136
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
137 .. image:: ../images/ribocount.png
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
138
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
139 Command line
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
140 ............
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
141 ``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
142
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
143 usage: python ribocount.py [-h] -b RIBO_FILE -f TRANSCRIPTOME_FASTA [-l INTEGER]
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
144 [-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
145
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
146 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
147
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
148 optional arguments:
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
149
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
150 -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
151
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
152 -l INTEGER, --read_length INTEGER
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
153 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
154
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
155 -s INTEGER, --read_offset INTEGER
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
156 Read offset (default: 0)
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 -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
159
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
160 Output file for results (HTML)
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
161
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
162 -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
163 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
164
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
165 -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
166
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
167 required arguments:
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
168
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
169 -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
170 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
171
844eb8c36f32 Add help section in xml and update usage documentation
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents: 7
diff changeset
172 -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
173 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
174