File: SMRTReadUtils.hpp

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,148 kB
  • sloc: cpp: 77,259; python: 331; sh: 103; makefile: 41
file content (17 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _BLASR_SMRT_READ_UTILS_HPP_
#define _BLASR_SMRT_READ_UTILS_HPP_

#include <cstdlib>

#include <pbdata/FASTQSequence.hpp>
#include <pbdata/StringUtils.hpp>

void GetSMRTReadCoordinates(FASTQSequence &seq, int &x, int &y);

void GetSpringfieldHoleNumberFromTitle(FASTQSequence &seq, unsigned int &holeNumber);

// Parse a PBIRead name of format movie/holeNumber/s_e, or /movie/holeNumber
// and get movieName, holeNumber.
bool ParsePBIReadName(std::string &readName, std::string &movieName, int &holeNumber);

#endif