[−][src]Enum d4::Dictionary
The dictionary (a.k.a encoding table)
Variants
The dictionary for a consequtive range
The dctionary described as a key-value map
Implementations
impl Dictionary
[src]
pub fn pretty_print(&self) -> Result<String>
[src]
Pretty print the dictionary in JSON format
pub fn from_sample_bam<P: AsRef<Path>, F: Fn(&str, usize) -> bool>(
path: P,
filter: F,
reference: Option<&str>,
min_mq: u8
) -> Result<Self, Box<dyn Error>>
[src]
path: P,
filter: F,
reference: Option<&str>,
min_mq: u8
) -> Result<Self, Box<dyn Error>>
Run the random sampling algorithm on an alignment file, determining the optimal dictionary configuration
pub fn from_dict_list(mapping: Vec<i32>) -> Result<Self>
[src]
Create a dictioanry from the mapping vector
pub fn new_dictionary_from_file<R: Read>(file: R) -> Result<Self>
[src]
Create a dictionary from a dictionay specification file. The dictionary has 2^K lines, the N-th lines contains the actual value that code N-1 encodes.
pub fn new_simple_range_dict(left: i32, right: i32) -> Result<Self>
[src]
Create a new simple range dictionary
Trait Implementations
impl Clone for Dictionary
[src]
fn clone(&self) -> Dictionary
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for Dictionary
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Dictionary
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Unpin for Dictionary
impl UnwindSafe for Dictionary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,