Struct varlociraptor::testcase::runner::common::version3::TestcaseVersion3
source · pub struct TestcaseVersion3 {
pub inner: Vec<Yaml>,
pub path: PathBuf,
}
Fields§
§inner: Vec<Yaml>
§path: PathBuf
Trait Implementations§
source§impl Debug for TestcaseVersion3
impl Debug for TestcaseVersion3
source§impl Testcase for TestcaseVersion3
impl Testcase for TestcaseVersion3
fn inner(&self) -> &[Yaml]
fn path(&self) -> &PathBuf
fn reference(&self) -> Result<Box<dyn AsRef<Path>>>
fn preprocess_options(&self, sample_name: &str) -> String
source§fn test_record_index(&self) -> usize
fn test_record_index(&self) -> usize
Index of record in the candidates.vcf to evaluate expressions for.
fn mode(&self) -> Mode
fn omit_strand_bias(&self) -> bool
fn omit_read_orientation_bias(&self) -> bool
fn omit_read_position_bias(&self) -> bool
fn omit_softclip_bias(&self) -> bool
fn omit_homopolymer_artifact_detection(&self) -> bool
fn omit_alt_locus_bias(&self) -> bool
fn yaml(&self) -> &Yaml
fn output(&self) -> PathBuf
fn candidates(&self) -> PathBuf
fn samples(&self) -> Vec<String>
fn sample_preprocessed_path( &self, sample_name: &str, temp_preprocess: &TempDir ) -> PathBuf
fn sample_observations_path(&self, sample_name: &str) -> PathBuf
fn sample(&self, sample_name: &str) -> &Yaml
fn sample_bam(&self, sample_name: &str) -> PathBuf
fn sample_alignment_properties(&self, sample_name: &str) -> String
fn scenario(&self) -> Option<PathBuf>
fn purity(&self) -> Option<f64>
fn run(&self, pairhmm_mode_override: &str) -> Result<()>
fn check(&self)
fn index_reference(&self, path: &dyn AsRef<Path>)
fn alignment_properties(&self, properties: &str) -> Result<NamedTempFile>
Auto Trait Implementations§
impl Freeze for TestcaseVersion3
impl RefUnwindSafe for TestcaseVersion3
impl Send for TestcaseVersion3
impl Sync for TestcaseVersion3
impl Unpin for TestcaseVersion3
impl UnwindSafe for TestcaseVersion3
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.