Skip to content

Commit

Permalink
clean up autosomes
Browse files Browse the repository at this point in the history
  • Loading branch information
ASLeonard committed Dec 14, 2023
1 parent 0ff5a22 commit 3f171f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakepit/short_reads.smk
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ rule merge_callers:
'''
bcftools view {input.delly} -e "SVTYPE=='INS'" -o $TMPDIR/deldel.vcf.gz
tabix -p vcf $TMPDIR/deldel.vcf.gz
bcftools concat -a --threads 2 -D -o {output} $TMPDIR/deldel.vcf.gz {input.insurveyor}
bcftools concat -a --threads 2 -D -o $TMPDIR/concat.vcf.gz $TMPDIR/deldel.vcf.gz {input.insurveyor}
tabix -p vcf $TMPDIR/concat.vcf.gz
bcftools view -e INFO/INCOMPLETE_ASSEMBLY!=0 -o {output} $TMPDIR/concat.vcf.gz 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
tabix -p vcf {output}
'''

0 comments on commit 3f171f8

Please sign in to comment.