Main tool : samtools
samtools ampliconclip -b bed.file input.bam
samtools sort -T /tmp/aln.sorted -o aln.sorted.bam aln.bam
Better documentation can be found at https://www.htslib.org/doc/samtools.html
Main tool : samtools
samtools ampliconclip -b bed.file input.bam
samtools sort -T /tmp/aln.sorted -o aln.sorted.bam aln.bam
Better documentation can be found at https://www.htslib.org/doc/samtools.html