SCRAM

plots

SCRAM is lightweight Python package for aligning small RNA reads to one or more reference sequences and producing publication-quality images.

Developed by Stephen Fletcher @ the laboratory of Prof. Bernie Carroll, University of Queensland


Installation

Scram is written in Python 3.5. Install scram and its dependencies with pip:

pip install scram

Or download and extract the tarball, then run:

python setup.py install

Input File Format

Reference File : DNA nucleotides only (AGCT) - FASTA format

Sequence File : Collapsed (unique) reads - DNA nucleotides only (AGCT) - FASTA format

Post-processing of FASTQ reads to collapsed FASTA format can be carried out using the FASTX-Toolkit from the Hannon Lab. Collapsed reads are unique, and contain the read count in the header.

An example of the required sequence file format:
head seq1.fa

>1-607041
TCGGACCAGGCATCATTCCCC
>2-202886
TCGGACCAGGCTTCATACCCC
>3-71446
TCCCAAATATAGACAAAGCA

Usage

scram analysis_type reference_file [-h] [-s1 [SEQ_FILE_1 [SEQ_FILE_1 ...]]] [-s2 [SEQ_FILE_2 [SEQ_FILE_2 ...]]] [-nt SRNA_LEN] [-f FILE_NAME] [-p PROCESSES] [-min_read MIN_READ_SIZE] [-max_read MAX_READ_SIZE] [-min_count MIN_READ_COUNT] [-win SMOOTH_WIN_SIZE] [-ylim YLIM] [-no_csv] [-no_display] [-split] [-pub] [-V]

Analysis types

Flags

den Example

scram den ./ref.fa -s1 seq1.fa -nt 24 -win 30 -f fig1.pdf
example 1

mnt3dm Example

scram mnt3dm ./ref.fa -s1 seq1.fa -win 20 -ylim 110 -f fig2.pdf


example 2

CDP Example

scram CDP ./cDNAs.fa -s1 seq1.fa -s2 seq2.fa -nt 21 -f fig3.pdf -split
example 3




(c) 2016 - Stephen Fletcher. MIT License