INNER CODE UNIT · Rust

test_paired_end_retention_fetch

mbhall88/rasusa · src/alignment/mod.rs:438

    fn test_paired_end_retention_fetch() {
        let input_path = PathBuf::from("tests/cases/test.paired.bam");

        let target_depth: u32 = 2;
        let output = NamedTempFile::new().unwrap();

        // subsample to 2x depth
        let mut align = Alignment {
            aln: input_path,
            output: Some(output.path().to_path_buf()),
            output_format: Some(Format::Bam),
            coverage: target_depth,
            seed: Some(2109),
            strategy: SubsamplingStrategy::Fetch,
            swap_distance: 5,
            step_size: 100,
            batch_size: 10000,
            threads: NonZeroUsize::new(1).unwrap(),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…