An open source program for processsing ribosome profiling data
pip install shoelaces==1.6
This is an open source program for processsing ribosome profiling data written in Python3. Works on Linux and Mac OS.
A minimal install of the packaged version can be done directly from PyPI:
pip3 install shoelaces
To start the window application, run shoelaces
To start the console application, run shoelaces -h
Alternatively, clone the source repo, then run run.sh
or run-console.sh
. Make sure you have Python3 packages installed: pysam, numpy, pyqt5, pyopengl.
Example data (BAM, GTF, XML) are in the Data
directory.
Noise regions can be defined by a separate transcript file. Right click on the desired to resource and select set as noise (it will turn red).
Single transcripts or genes in your current transcript file can be excluded from processing, by right clicking and select toggle usage (they will be grayed out).
To store your current project, select save button. This stores and xml with your current offsets, selected files, disabled transcripts.
In the 'Data Overview' you can click 'Refresh' button to calculate global statistics of your library. Double-clicking on the gene/transcript names in the panels on the left plots the sequence data in a genome browser-like fashion, with corresponding statistics.
For processing multiple alignment files in the same way, go to File -> Batch... and add BAM files with 'Add' button.
See the shoelaces -h
for an example.
Using specified offsets (config file):
shoelaces -t -files Data/offsets.xml Data/example.bam Data/example.gtf out.wig
Split output for fragment lengths specified in offsets.xml:
shoelaces -t -s -files Data/offsets.xml Data/example.bam Data/example.gtf out.wig
Output wiggle in transcript coordinates:
shoelaces -t -r -files Data/offsets.xml Data/example.bam Data/example.gtf out.wig
Overwrite fragment lengths for which to create wig output:
shoelaces -t -lengths 28 29 -files Data/offsets.xml Data/example.bam Data/example.gtf out.wig
Automatic offset detection:
shoelaces -a -files Data/example.bam Data/example.gtf out.wig
Offset detection with using CDS end (stop codon peak):
shoelaces -a -c -files Data/example.bam Data/example.gtf out.wig
Print offset plots in the console (from -15 to +15 relative to CDS start)
shoelaces -a -p -files Data/example.bam Data/example.gtf out.wig