Here is the brief comparison between calcs, cstag-cli, and sam2paf.
calcs
cstag-cli
sam2paf
Input
SAM and FASTA
SAM or BAM with a MD tag
SAM with a MD tag
Output format
SAM or PAF
SAM or BAM
PAF
Speed
Slow🐢
Fast🐇
Fast🐇
Instead of calcs, we recommend using either cstag-cli or sam2paf. If a SAM file lacks MD tags, you can first add these tags using samtools calmd and then apply cstag-cli.
Description
calcsis a command-line tool specifically designed to append a minimap2’s cs tag to a SAM file.Installation
You can install
calcsusing pip:Alternatively, you can get
calcsfrom bioconda:Usage
Options
Examples
If the input file is a BAM/CRAN format, you can use
samtools view.Comparison with other tools
Here is the brief comparison between
calcs,cstag-cli, andsam2paf.calcscstag-clisam2pafInstead of
calcs, we recommend using eithercstag-cliorsam2paf.If a SAM file lacks MD tags, you can first add these tags using
samtools calmdand then applycstag-cli.