Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
FASTAFile::FASTAEntry Struct Reference

FASTA entry type (identifier, description and sequence) More...

#include <OpenMS/FORMAT/FASTAFile.h>

Public Member Functions

 FASTAEntry ()
 
 FASTAEntry (String id, String desc, String seq)
 
 FASTAEntry (const FASTAEntry &rhs)
 
 FASTAEntry (FASTAEntry &&rhs) noexcept
 
FASTAEntryoperator= (const FASTAEntry &rhs)
 
bool operator== (const FASTAEntry &rhs) const
 
bool headerMatches (const FASTAEntry &rhs) const
 
bool sequenceMatches (const FASTAEntry &rhs) const
 

Public Attributes

String identifier
 
String description
 
String sequence
 

Detailed Description

FASTA entry type (identifier, description and sequence)

The first String corresponds to the identifier that is written after the > in the FASTA file. The part after the first whitespace is stored in description and the text from the next line until the next > (exclusive) is stored in sequence.

Constructor & Destructor Documentation

◆ FASTAEntry() [1/4]

FASTAEntry ( )
inline

◆ FASTAEntry() [2/4]

FASTAEntry ( String  id,
String  desc,
String  seq 
)
inline

◆ FASTAEntry() [3/4]

FASTAEntry ( const FASTAEntry rhs)
inline

◆ FASTAEntry() [4/4]

FASTAEntry ( FASTAEntry &&  rhs)
inlinenoexcept

Member Function Documentation

◆ headerMatches()

bool headerMatches ( const FASTAEntry rhs) const
inline

◆ operator=()

◆ operator==()

◆ sequenceMatches()

bool sequenceMatches ( const FASTAEntry rhs) const
inline

Member Data Documentation

◆ description

◆ identifier

◆ sequence


OpenMS / TOPP release 2.3.0 Documentation generated on Wed Apr 18 2018 19:29:12 using doxygen 1.8.14