pub struct ContigMetadata {
pub primary_name: String,
pub length: Option<u64>,
pub md5: Option<String>,
pub aliases: HashSet<String>,
pub assembly: Option<String>,
pub uri: Option<String>,
pub species: Option<String>,
pub sequence_role: SequenceRole,
pub sources: Vec<String>,
}Expand description
Metadata for a single contig, collected from multiple sources
Fields§
§primary_name: StringPrimary name (exact, from first source)
length: Option<u64>Length (must be consistent across sources)
md5: Option<String>MD5 checksum
aliases: HashSet<String>Explicit aliases (from AN tag or NCBI report)
assembly: Option<String>Assembly tag (AS)
uri: Option<String>URI (UR)
species: Option<String>Species (SP)
sequence_role: SequenceRoleSequence role from NCBI assembly report
sources: Vec<String>Sources that contributed to this contig
Trait Implementations§
Source§impl Clone for ContigMetadata
impl Clone for ContigMetadata
Source§fn clone(&self) -> ContigMetadata
fn clone(&self) -> ContigMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContigMetadata
impl RefUnwindSafe for ContigMetadata
impl Send for ContigMetadata
impl Sync for ContigMetadata
impl Unpin for ContigMetadata
impl UnwindSafe for ContigMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more