Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bamcalib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
Bernard
bamcalib
Commits
fb238b38
Verified
Commit
fb238b38
authored
1 year ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
v0.1.5: add --intermediate-bigwig (fix output name)
parent
ad2be904
Branches
dev
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Cargo.lock
+2
-1
2 additions, 1 deletion
Cargo.lock
Cargo.toml
+1
-1
1 addition, 1 deletion
Cargo.toml
src/bed.rs
+6
-5
6 additions, 5 deletions
src/bed.rs
src/main.rs
+1
-1
1 addition, 1 deletion
src/main.rs
with
10 additions
and
8 deletions
Cargo.lock
+
2
−
1
View file @
fb238b38
...
@@ -64,7 +64,8 @@ dependencies = [
...
@@ -64,7 +64,8 @@ dependencies = [
]
]
[[package]]
[[package]]
version = "0.1.3"
name = "bamcalib"
version = "0.1.4"
dependencies = [
dependencies = [
"bam",
"bam",
"bigtools",
"bigtools",
...
...
This diff is collapsed.
Click to expand it.
Cargo.toml
+
1
−
1
View file @
fb238b38
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
[package]
[package]
name
=
"bamcalib"
name
=
"bamcalib"
version
=
"0.1.
4
"
version
=
"0.1.
5
"
edition
=
"2021"
edition
=
"2021"
description
=
"A command line tools to compute normalized bigwig from calibrated bam of a Chip-Seq experiment"
description
=
"A command line tools to compute normalized bigwig from calibrated bam of a Chip-Seq experiment"
license
=
"AGPL-3.0-or-later"
license
=
"AGPL-3.0-or-later"
...
...
This diff is collapsed.
Click to expand it.
src/bed.rs
+
6
−
5
View file @
fb238b38
...
@@ -238,19 +238,20 @@ impl BedGraphWrapper {
...
@@ -238,19 +238,20 @@ impl BedGraphWrapper {
if
intermediate_bigwig
{
if
intermediate_bigwig
{
bedwrapper
.bed
.reset
();
bedwrapper
.bed
.reset
();
bedwrapper
.bed.or_stats
.intermediate_bigwig
(
true
,
true
);
bedwrapper
.bed.or_stats
.intermediate_bigwig
(
true
,
true
);
let
mut
path
=
PathBuf
::
from
(
file_ip
);
let
mut
path
_ip
=
PathBuf
::
from
(
file_ip
);
path
.set_extension
(
"
ip
.bigwig"
);
path
_ip
.set_extension
(
"
OR
.bigwig"
);
BedGraphWrapper
::
write_bigwig_old_norm
(
BedGraphWrapper
::
write_bigwig_old_norm
(
bedwrapper
.clone
(),
bedwrapper
.clone
(),
&
path
.to_str
()
.unwrap
(),
&
path
_ip
.to_str
()
.unwrap
(),
thread_local
,
thread_local
,
);
);
bedwrapper
.bed
.reset
();
bedwrapper
.bed
.reset
();
bedwrapper
.bed.or_stats
.intermediate_bigwig
(
true
,
false
);
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
(
BedGraphWrapper
::
write_bigwig_old_norm
(
bedwrapper
,
bedwrapper
,
&
path
.to_str
()
.unwrap
(),
&
path
_wce
.to_str
()
.unwrap
(),
thread_local
,
thread_local
,
);
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/main.rs
+
1
−
1
View file @
fb238b38
...
@@ -13,7 +13,7 @@ use clap::Parser;
...
@@ -13,7 +13,7 @@ use clap::Parser;
#[derive(Parser,
Debug)]
#[derive(Parser,
Debug)]
#[command(name
=
"bamcalib"
)]
#[command(name
=
"bamcalib"
)]
#[command(author
=
"Laurent Modolo <laurent.modolo@ens-lyon.fr>"
)]
#[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)]
#[command(about
=
"Compute calibrated density from calibration mapping data"
,
long_about
=
None)]
struct
Args
{
struct
Args
{
/// sorted bam file for the IP data
/// sorted bam file for the IP data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment