Mercurial > repos > biomonika > linkyx
annotate LINKYX_mpileup_wrapper.sh @ 0:1955f03f092e
initial commit
| author | biomonika <biomonika@psu.edu> |
|---|---|
| date | Tue, 02 Sep 2014 14:16:04 -0400 |
| parents | |
| children | ea52ef8d7f3a |
| rev | line source |
|---|---|
| 0 | 1 #!/bin/bash |
| 2 results=$1; | |
| 3 bam_file=$2; | |
| 4 reference=$3; | |
| 5 | |
| 6 sorted_bam=${bam_file}_sorted | |
| 7 | |
| 8 #LINKYX_PATH set during toolshed installation | |
| 9 | |
| 10 samtools mpileup -uf $reference $bam_file 2>log.txt | bcftools view -p 0.85 -cgv - 2>log.txt >$results | |
| 11 | |
| 12 #samtools mpileup -uf $reference $2 2>log.txt | bcftools view -p 0.85 -cgv - 2>>log.txt| vcfutils.pl varFilter >$results 2>>log.txt |
