...
Produces output.vcf from Bowtie and output.vcf from BWA.
Move all 3 bam files and all 3 vcf files to lonestar
introduce bedtools.
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
|
Alike mutations.
Code Block |
---|
intersectBed -a bowtie.vcf -b bwa.vcf > intersect.vcf
|
Unique mutations.
Code Block |
---|
subtractBed -a bowtie.vcf -b intersect.vcf > unique_bowtie.vcf
subtractBed -a bwa.vcf -b intersect.vcf > unique_bowtie.vcf
|