diff test-data/npipe.sh @ 7:745f529127b8 draft

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/artbio_bam_cleaning commit b782130b62b7c74911774b58c7a965a99dee1519"
author artbio
date Mon, 20 Dec 2021 19:44:29 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/npipe.sh	Mon Dec 20 19:44:29 2021 +0000
@@ -0,0 +1,8 @@
+input="chr22_sample" && \
+genome="chr22.fa"
+samtools index $input".bam" && \
+sambamba view -h -t 8 --filter='mapping_quality >= 1 and not(unmapped) and not(mate_is_unmapped) and not(duplicate)' -f 'bam' ${input}".bam" \
+| bamleftalign --fasta-reference $genome -c --max-iterations "5" - \
+| samtools calmd  -C 50 -b -@ 8 - $genome > $input".filt1.dedup.bamleft.calmd.bam" && \
+sambamba view -h -t 8 --filter='mapping_quality <= 254' -f 'bam' -o $input".filt1.dedup.bamleft.calmd.filt2.bam" $input".filt1.dedup.bamleft.calmd.bam"
+