Struct bio::io::fasta::Record
[−]
[src]
pub struct Record { // some fields omitted }
A FASTA record.
Methods
impl Record
[src]
fn new() -> Self
Create a new instance.
fn is_empty(&self) -> bool
Check if record is empty.
fn check(&self) -> Result<(), &str>
Check validity of Fasta record.
fn id(&self) -> Option<&str>
Return the id of the record.
fn desc(&self) -> Option<&str>
Return descriptions if present.
fn seq(&self) -> TextSlice
Return the sequence of the record.