Gk-arrays
Efficient read indexing
 All Classes Functions
Public Member Functions
gkarrays::readsReader Class Reference

#include <readsReader.h>

List of all members.

Public Member Functions

 readsReader (char *filename, uint k=0, uint length=0)
 readsReader (char *filename1, char *filename2, uint k=0, uint length=0)
readIteratorbegin (bool printWarnings=false)
bool isPairedEnd ()

Detailed Description

readsReader is a class that allows you to store informations about an RNA_Seq experiment. It works both for single reads and paired-end reads. You can get an iterator using method begin() in order to go trough all reads.


Constructor & Destructor Documentation

gkarrays::readsReader::readsReader ( char *  filename,
uint  k = 0,
uint  length = 0 
)

Single reads constructor

Parameters:
filenameThe name of the file containg reads
klength of k-mers we have to use (0 for variable-length reads)
lengthlength of the reads. If a shorter read is found, it raises an error. If a longer read is found, only the prefix of tag_length characters is kept. If tag_length == 0 (default), just gess what the read length is.
gkarrays::readsReader::readsReader ( char *  filename1,
char *  filename2,
uint  k = 0,
uint  length = 0 
)

Single reads constructor

Parameters:
filename1The name of the first file containing reads
filename2The name of the second file containing reads
klength of k-mers we have to use (0 for variable-length reads)
lengthlength of the reads. If a shorter read is found, it raises an error. If a longer read is found, only the prefix of tag_length characters is kept. If tag_length == 0 (default), just gess what the read length is.

Member Function Documentation

readIterator * gkarrays::readsReader::begin ( bool  printWarnings = false)
Parameters:
printWarningsValue of printWarnings option
Returns:
an read iterator that goes through the read file(s)
Returns:
true is the reads are paired-end (i.e there is two reads files)

The documentation for this class was generated from the following files:
 All Classes Functions