Crate noodles::gff [−][src]
Expand description
noodles-gff handles the reading and writing of the GFF3 format.
GFF (Generic Feature Format) is a text-based format used to represent genomic features.
Examples
Read all records in a GFF3 file
use noodles_gff as gff;
let mut reader = File::open("annotations.gff3")
.map(BufReader::new)
.map(gff::Reader::new)?;
for result in reader.records() {
let record = result?;
println!(
"{}\t{}\t{}",
record.reference_sequence_name(),
record.start(),
record.end(),
);
}
Modules
GFF directives.
GFF lines.
GFF reader and iterators.
GFF record and fields.