Crates.io | bigwig2bam |
lib.rs | bigwig2bam |
version | 0.1.4 |
source | src |
created_at | 2023-02-28 14:32:08.055776 |
updated_at | 2024-02-05 09:08:23.131946 |
description | A command line tools to convert bigwig file into single-end bam file |
homepage | https://gitbio.ens-lyon.fr/LBMC/Bernard/bigwig2bam |
repository | https://gitbio.ens-lyon.fr/LBMC/Bernard/bigwig2bam |
max_upload_size | |
id | 797063 |
size | 135,965 |
bigwig2bam
utilitybigwig2bam
is a small rust program to convert bigwig file to bam file
You need cargo
installed
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install cargo
sudo pacman -S rust
brew install rust
Then run the following command:
cargo install bigwig2bam --version 0.1.1
You can also use the lbmc/bigwig2bam:0.1.1
Docker image
docker run -it lbmc/bigwig2bam:0.1.1 bigwig2bam
bamcalib \
--bigwig IP_11.bigwig \
--fasta genome.fasta \
--bam IP_11.bam \
--read_length 150
The bigwig2bam
expect the following parameters:
--bigwig <bigwig_file>
bigwig file to convert--fasta <fasta_file>
fasta genome from which to generate the read sequences--output-bam <bam_file>
output bam file (sorted)-c
, --cal-prefix <cal_prefix>
calibration prefix added to the chromosome name of the calibration genome (default: calib_
)--read_length <value>
size of the reads to generate--avoid-empty-bam
add +1 to the density to avoid empty bams-h
, --help
Print help information-V
, --version
Print version information