bigwig2bam

Crates.iobigwig2bam
lib.rsbigwig2bam
version0.1.4
sourcesrc
created_at2023-02-28 14:32:08.055776
updated_at2024-02-05 09:08:23.131946
descriptionA command line tools to convert bigwig file into single-end bam file
homepagehttps://gitbio.ens-lyon.fr/LBMC/Bernard/bigwig2bam
repositoryhttps://gitbio.ens-lyon.fr/LBMC/Bernard/bigwig2bam
max_upload_size
id797063
size135,965
Laurent Modolo (l-modolo)

documentation

README

bigwig2bam utility

bigwig2bam is a small rust program to convert bigwig file to bam file

Installation

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

Usage

Example

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)

Optional Arguments

  • -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
Commit count: 0

cargo fmt