...
Produces output.vcf from Bowtie and output.vcf from BWA.
Move all 3 bam files and all 3 vcf files to lonestar
introduce bedtools.
...
Exercise.
VCF format has Allele Frequency tags denoted by either AF1 or AF. Try the following command to see what value we have in our files.
Code Block |
---|
cat input.vcf | grep AF1
|
For the data we are dealing with, predictions with an allele frequency not equal to 1 are not really applicable. How can we remove these lines from the file and continue on?
Determining Differences Between Aligners.
...
Bedtools is a suite of utility programs that work on a variety of file formats, one of which is conveniently VCF format. Using
...
intersectBed
...
and
...
subtractBed
...
we can find equal and different predictions between mappers.
Load Bedtools.
...
Code Block |
---|
module load bedtools |
...
Finding
...
alike
...
mutations.
Code Block |
---|
intersectBed -a bowtie.vcf -b bwa.vcf > intersect.vcf |
Code Block |
Finding
...
unique
...
mutations
...
for
...
each
...
mapper.
Code Block |
---|
subtractBed -a bowtie.vcf -b intersect.vcf > unique_bowtie.vcf |
...
subtractBed -a bwa.vcf -b intersect.vcf > unique_bowtie.vcf |
...
|