Skip to main content

ID

Type Alias ID 

Source
pub type ID = u16;
Expand description

type for IDs (e.g. gene IDs)

Trait Implementations§

Source§

impl ReadData for ID

Source§

fn new(id: ID, _tag: Tag) -> Self

generate a read data from an ID and a tag
Source§

fn read_data(gene_ids: &mut BiMap<String, ID>, read_name: &[u8], _: Tag) -> Self

geneate a read data, IDs and IDTags can only be generated from Marbel reads
Source§

fn get_tag(&self) -> Option<Tag>

if available, get a tag
Source§

fn read_datas() -> ReadDatas

retrun a ReadDatas enum to check which kind of ReadData is present