Scroll to navigation

SORTMERNA(1) User Commands SORTMERNA(1)

NAME

sortmerna - tool for filtering, mapping and OTU-picking NGS reads

SYNOPSIS

sortmerna --ref db.fasta,db.idx --reads file.fa --aligned base_name_output [OPTIONS]

DESCRIPTION

SortMeRNA is a biological sequence analysis tool for filtering, mapping and OTU-picking NGS reads. The core algorithm is based on approximate seeds and allows for fast and sensitive analyses of nucleotide sequences. The main application of SortMeRNA is filtering rRNA from metatranscriptomic data. Additional applications include OTU-picking and taxonomy assignation available through QIIME v1.9+ (http://qiime.org - v1.9.0-rc1).

SortMeRNA takes as input a file of reads (fasta or fastq format) and one or multiple rRNA database file(s), and sorts apart rRNA and rejected reads into two files specified by the user. Optionally, it can provide high quality local alignments of rRNA reads against the rRNA database. SortMeRNA works with Illumina, 454, Ion Torrent and PacBio data, and can produce SAM and BLAST-like alignments.

OPTIONS

MANDATORY OPTIONS

FASTA reference file, index file
Example:
--ref /path/to/file1.fasta,/path/to/index1
If passing multiple reference sequence files, separate them by ':'
Example:
--ref /path/f1.fasta,/path/index1:/path/f2.fasta,path/index2
FASTA/FASTQ reads file
aligned reads filepath + base file name (appropriate extension will be added)

COMMON OPTIONS

rejected reads filepath + base file name (appropriate extension will be added)
output FASTA/FASTQ fil (default: off, for aligned and/or rejected reads)
output SAM alignmen (default: off, for aligned reads only)
add SQ tags to the SAM fil (default: off)
output alignments in various Blast-like formats
0 - pairwise
1 - tabular (Blast -m 8 format)
2 - tabular + column for CIGAR
3 - tabular + columns for CIGAR and query coverage
output overall statistic (default: off)
report first INT alignments per read reaching E-value (default: -1, --num_alignments 0 signifies all alignments will be output)
report INT best alignments per read reaching E-value (default: 1) by searching --min_lis INT candidate alignments (--best 0 signifies all candidate alignments will be searched)
search all alignments having the first INT longest LIS (default: 2) LIS stands for Longest Increasing Subsequence, it is computed using seeds' positions to expand hits into longer matches prior to Smith-Waterman alignment.
output null alignment strings for non-aligned reads (default: off) to SAM and/or BLAST tabular files
both paired-end reads go in --aligned fasta/q file (default: off, interleaved reads only, see Section 4.2.4 of User Manual)
both paired-end reads go in --other fasta/q file (default: off, interleaved reads only, see Section 4.2.4 of User Manual)
SW score (positive integer) for a match (default: 2)
SW penalty (negative integer) for a mismatch (default: -3)
SW penalty (positive integer) for introducing a gap (default: 5)
SW penalty (positive integer) for extending a gap (default: 2)
SW penalty for ambiguous letters (N's) (default: scored as --mismatch)
search only the forward strand (default: off)
search only the reverse-complementary strand (default: off)
number of threads to use (default: 1)
E-value threshold (default: 1)
INT Mbytes for loading the reads into memory (default: 1024, maximum -m INT is 5872)
verbose (default: off)

OTU PICKING OPTIONS

%id similarity threshold (the alignment must still pass the E-value threshold, default: 0.97)
%query coverage threshold (the alignment must still pass the E-value threshold, default: 0.97)
FASTA/FASTQ file for reads matching database < %id
(set using --id) and < %cov (set using --coverage)
(alignment must still pass the E-value threshold, default: off)
output OTU map (input to QIIME's make_otu_table.py, default: off)

ADVANCED OPTIONS

see SortMeRNA user manual for more details

three intervals at which to place the seed on the read (L is the seed length set in indexdb_rna(1), default: L,L/2,3)
number (or percent if INT followed by % sign) of nucleotides to add to each edge of the read prior to SW local alignment (default: 4)
number of seeds matched before searching for candidate LIS (default: 2)
search for all 0-error and 1-error seed matches in the index rather than stopping after finding a 0-error match (<1% gain in sensitivity with up four-fold decrease in speed, default: off)
add pid to output file names (default: off)
help
SortMeRNA version number
August 2015 sortmerna 2.0