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::io::Reader::new)?;
for result in reader.record_bufs() {
let record = result?;
println!(
"{}\t{}\t{}",
record.reference_sequence_name(),
record.start(),
record.end(),
);
}
Re-exports§
pub use self::directive_buf::DirectiveBuf;
pub use self::line::Line;
pub use self::line_buf::LineBuf;
pub use self::record::Record;
pub use self::record_buf::RecordBuf;
pub use self::io::Reader;
pub use self::io::Writer;
pub use self::async::io::Reader as AsyncReader;
Modules§
- Async GFF.
- GFF directives.
- GFF I/O.
- GFF line.
- GFF lines.
- Raw GFF record.
- GFF record and fields.
Structs§
- A GFF directive.