Skip to content
Snippets Groups Projects
Verified Commit fb238b38 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

v0.1.5: add --intermediate-bigwig (fix output name)

parent ad2be904
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,8 @@ dependencies = [
]
[[package]]
version = "0.1.3"
name = "bamcalib"
version = "0.1.4"
dependencies = [
"bam",
"bigtools",
......
......@@ -4,7 +4,7 @@
[package]
name = "bamcalib"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
description = "A command line tools to compute normalized bigwig from calibrated bam of a Chip-Seq experiment"
license = "AGPL-3.0-or-later"
......
......@@ -238,19 +238,20 @@ impl BedGraphWrapper {
if intermediate_bigwig {
bedwrapper.bed.reset();
bedwrapper.bed.or_stats.intermediate_bigwig(true, true);
let mut path = PathBuf::from(file_ip);
path.set_extension("ip.bigwig");
let mut path_ip = PathBuf::from(file_ip);
path_ip.set_extension("OR.bigwig");
BedGraphWrapper::write_bigwig_old_norm(
bedwrapper.clone(),
&path.to_str().unwrap(),
&path_ip.to_str().unwrap(),
thread_local,
);
bedwrapper.bed.reset();
bedwrapper.bed.or_stats.intermediate_bigwig(true, false);
path.set_extension("wce.bigwig");
let mut path_wce = PathBuf::from(file_wce);
path_wce.set_extension("OR.bigwig");
BedGraphWrapper::write_bigwig_old_norm(
bedwrapper,
&path.to_str().unwrap(),
&path_wce.to_str().unwrap(),
thread_local,
);
}
......
......@@ -13,7 +13,7 @@ use clap::Parser;
#[derive(Parser, Debug)]
#[command(name = "bamcalib")]
#[command(author = "Laurent Modolo <laurent.modolo@ens-lyon.fr>")]
#[command(version = "1.0.4")]
#[command(version = "1.0.5")]
#[command(about = "Compute calibrated density from calibration mapping data", long_about = None)]
struct Args {
/// sorted bam file for the IP data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment