annotate LINKYX_mpileup_wrapper.sh @ 4:0979980b5bdc

edited README file
author biomonika <biomonika@psu.edu>
date Fri, 20 Feb 2015 14:50:31 -0500
parents 0d8315be76b7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
1 #!/bin/bash
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
2 results=$1;
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
3 bam_file=$2;
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
4 reference=$3;
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
5
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
6 sorted_bam=${bam_file}_sorted
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
7
05c27700e5ca initial commit
biomonika <biomonika@psu.edu>
parents:
diff changeset
8 samtools mpileup -uf $reference $bam_file 2>log.txt | bcftools view -p 0.85 -cgv - 2>log.txt >$results