# HG changeset patch # User rlegendre # Date 1413817599 14400 # Node ID 1fbddace2db6af1a8ed0b6c1b5cccb4316091b4b # Parent b8c070add3b7ab4be70e6bada6dc0e1915be7cc3 Uploaded diff -r b8c070add3b7 -r 1fbddace2db6 get_codon_frequency.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/get_codon_frequency.xml Mon Oct 20 11:06:39 2014 -0400 @@ -0,0 +1,103 @@ + + Analyse Ribo-seq alignments between two conditions to extract codon occupancy + + samtools + matplotlib + numpy + scipy + Bio + + + get_codon_frequency.py + --gff=$annot + --rep=$replicat_opt['rep'] + --cond1 $cond1 + --cond2 $cond2 + --kmer=$kmer + --asite=$asite + --out $out + --site $site + --hex_col1 $color1 + --hex_col2 $color2 + --dirout $html_file,$html_file.files_path + #if str( $replicat_opt['rep'] ) == 'yes': + --file1=$file1,$file11 + --file2=$file2,$file22 + #else + --file1=$file1 + --file2=$file2 + #end if + + + + + + + + + + + + + ## Use conditional balise : if rep =yes : 4 files, else 2 files + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Summary +------- +This tool uses Ribo-seq (bam file) to compare codon translation between two conditions. +For each footprint, codons at choosen site are saved and an histogram with all normalized codon numbers is plotted in both conditions. +A second histogram groups all codons corresponding to an amino acid. +A chisquare test is used for testing if distribution of used codons is the same in both conditions. + +Output +------- +This tool provides an html output with graphical outputs and a statistical test result. An additionnal csv file with codon numbers is provided. + + +Dependances +------------ + +.. class:: warningmark + +This tool depends on Python (>=2.7) and following packages : numpy 1.8.0, Biopython 1.58, scipy 0.12.0 and matplotlib 1.3.1. Samtools is used for bam manipulation. + + + + + + + + + + +