mosdepth/mosdepth

coverage
depth
mosdepth
bam
cram
qc

Description

Fast calculation of BAM/CRAM depth-of-coverage, producing per-base depth,
windowed/region coverage, quantized coverage, and threshold summaries from
a coordinate-sorted, indexed alignment file.

Type

bash_script

License

MIT

Keywords

coverage
depth
mosdepth
bam
cram
qc

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output_summary: "$id.$key.output_summary.txt"  
output_global_dist: "$id.$key.output_global_dist.txt"  
output_region_dist: "$id.$key.output_region_dist.txt"  
output_per_base: "$id.$key.output_per_base.gz"  
output_per_base_index: "$id.$key.output_per_base_index.csi"  
output_regions: "$id.$key.output_regions.gz"  
output_regions_index: "$id.$key.output_regions_index.csi"  
output_quantized: "$id.$key.output_quantized.gz"  
output_quantized_index: "$id.$key.output_quantized_index.csi"  
output_thresholds: "$id.$key.output_thresholds.gz"  
output_thresholds_index: "$id.$key.output_thresholds_index.csi"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.5.0 \  
  -main-script target/nextflow/mosdepth/mosdepth/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
file
required
--input_index
file
--fasta
-f
file
--fasta_index
file

Outputs

Name
Type & Properties
--output_summary
file
output
--output_global_dist
file
output
--output_region_dist
file
output
--output_per_base
file
output
--output_per_base_index
file
output
--output_regions
file
output
--output_regions_index
file
output
--output_quantized
file
output
--output_quantized_index
file
output
--output_thresholds
file
output
--output_thresholds_index
file
output

Coverage Options

Name
Type & Properties
--by_window
integer
--by_bed
file
--quantize
-q
string
--quantize_labels
string
multiple
--thresholds
-T
integer
multiple
--use_median
-m
boolean_true
--no_per_base
-n
boolean_true
--fast_mode
-x
boolean_true
--fragment_mode
-a
boolean_true
--dist_precision
integer

Read Filtering

Name
Type & Properties
--mapq
-Q
integer
--flag
-F
integer
--include_flag
-i
integer
--min_frag_len
-l
integer
--max_frag_len
-u
integer
--chrom
-c
string
--read_groups
-R
string
multiple

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.