repo_name
stringclasses
6 values
path
stringlengths
15
35
content
stringlengths
1.16k
33.7k
license
stringclasses
1 value
kmrf
./kmrf/src/cli.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
kmrf
./kmrf/src/error.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
kmrf
./kmrf/src/lib.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
kmrf
./kmrf/src/main.rs
/*\nCopyright (c) 2019 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
yacrd
./yacrd/tests/run.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/reads2ovl/fullmemory.rs
/*\n Copyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the 'Software'), to deal\n in the Software without restriction, including without limitation the rights\n to ...
mit
yacrd
./yacrd/src/reads2ovl/mod.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/reads2ovl/ondisk.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/stack.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/cli.rs
/*\nCopyright (c) 2018 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/util.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/error.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/main.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/editor/split.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/editor/scrubbing.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/editor/extract.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/editor/mod.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/editor/filter.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
yacrd
./yacrd/src/io.rs
/*\nCopyright (c) 2018 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/spectrum.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
pcon
./pcon/src/binding.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/static_counter.rs
/* std use */\nuse std::io::Read;\n\n/* crate use */\nuse anyhow::{anyhow, Context, Result};\nuse byteorder::ReadBytesExt;\n\n/* local use */\nuse crate::counter;\nuse crate::error::IO::*;\nuse crate::error::*;\n\n/// A struct to get a fast access to count\npub struct StaticCounter {\n pub k: u8,\n pub(crate) cou...
mit
pcon
./pcon/src/cli.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/solid.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/dump.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/error.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/count.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/counter.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/lib.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
pcon
./pcon/src/main.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/io/paf.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/io/gfa/gfa1.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/io/gfa/mod.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/io/mod.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/io/m4.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/namematch.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/sequence_length.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/samename.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/internalmatch.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/dovetails.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/containment.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/mod.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/filter/length.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/file.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/cli/keep.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/cli/modifier.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/cli/mod.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/cli/subcommand.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/cli/drop.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/type_def.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/main.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/generator/indexing.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/generator/gfa.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/generator/mod.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
fpa
./fpa/src/generator/renaming.rs
/*\nCopyright (c) 2018 Pierre Marijon <pierre.marijon@inria.fr>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
br
./br/tests/br_large.rs
#[cfg(test)]\nmod tests {\n use std::io::Read;\n use std::process::{Command, Stdio};\n\n fn run_finish(mut child: std::process::Child) -> bool {\n if !child.wait().expect('Error durring br run').success() {\n let mut stdout = String::new();\n let mut stderr = String::new();\n\n ...
mit
br
./br/tests/br.rs
#[cfg(test)]\nmod tests {\n use std::io::Read;\n use std::process::{Command, Stdio};\n\n fn run_finish(mut child: std::process::Child) -> bool {\n if !child.wait().expect('Error durring br run').success() {\n let mut stdout = String::new();\n let mut stderr = String::new();\n\n ...
mit
br
./br/src/correct/graph.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/correct/greedy.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/correct/exist/two.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
br
./br/src/correct/exist/one.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/correct/exist/mod.rs
/* crate use */\nuse log::debug;\nuse strum::IntoEnumIterator;\n\n/* crate use */\nuse crate::correct::*;\nuse crate::set;\n\n///////////////////////////////////////////\n// Generic Trait for correction scenario //\n///////////////////////////////////////////\npub trait Scenario: std::fmt::Debug + Copy {\n fn init(&...
mit
br
./br/src/correct/mod.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/correct/gap_size.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merg...
mit
br
./br/src/cli.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/error.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mpi-inf.mpg.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi...
mit
br
./br/src/lib.rs
/*\nCopyright (c) 2020 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
br
./br/src/set/hash.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
br
./br/src/set/mod.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
br
./br/src/set/pcon.rs
/*\nCopyright (c) 2020 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
br
./br/src/bin/br_large.rs
/*\nCopyright (c) 2021 Pierre Marijon <pierre.marijon@hhu.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify...
mit
br
./br/src/bin/br.rs
/*\nCopyright (c) 2019 Pierre Marijon <pmarijon@mmci.uni-saarland.de>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the 'Software'), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy...
mit
rasusa
./rasusa/tests/main.rs
use assert_cmd::prelude::*;\n// Add methods on commands\nuse predicates::prelude::*;\nuse std::process::Command; // Run programs // Used for writing assertions\n\n#[test]\nfn input_file_doesnt_exist() -> Result<(), Box<dyn std::error::Error>> {\n let mut cmd = Command::main_binary()?;\n cmd.args(vec!['-i', 'file/...
mit
rasusa
./rasusa/src/fastx.rs
use crate::cli::CompressionExt;\nuse needletail::errors::ParseErrorKind::EmptyFile;\nuse needletail::parse_fastx_file;\nuse std::fs::File;\nuse std::io::{BufWriter, Write};\nuse std::path::{Path, PathBuf};\nuse thiserror::Error;\n\n/// A collection of custom errors relating to the working with files for this package.\n...
mit
rasusa
./rasusa/src/cli.rs
use regex::Regex;\nuse std::ffi::{OsStr, OsString};\nuse std::ops::{Div, Mul};\nuse std::path::{Path, PathBuf};\nuse std::str::FromStr;\nuse structopt::StructOpt;\nuse thiserror::Error;\n\n/// Randomly subsample reads to a specified coverage.\n#[derive(Debug, StructOpt)]\n#[structopt()]\npub struct Cli {\n /// The f...
mit
rasusa
./rasusa/src/main.rs
#![allow(clippy::redundant_clone)] // due to a structopt problem\nuse std::io::stdout;\n\nuse anyhow::{Context, Result};\nuse fern::colors::{Color, ColoredLevelConfig};\nuse log::{debug, error, info};\nuse structopt::StructOpt;\n\npub use crate::cli::Cli;\npub use crate::fastx::Fastx;\npub use crate::subsampler::SubSam...
mit
rasusa
./rasusa/src/subsampler.rs
use rand::prelude::*;\n\n/// A `Struct` for dealing with the randomised part of sub-sampling.\npub struct SubSampler {\n /// Number of bases to sub-sample down to. \n pub target_total_bases: u64,\n /// Random seed to use for sub-sampling. If `None` is used, then the random number generator\n /// will be ...
mit