Question: Case Study: You have been tasked by your PI to perform a secondary analysis on a Bacillus thuringiensis BMB 1 7 1 , bacterial sample.
Case Study: You have been tasked by your PI to perform a secondary analysis on a Bacillus thuringiensis BMB bacterial sample. In addition to the mapping metrics you returned to them in Homework chrbam they would also like to know what variants are present in their sample. If you have not done so already, sort and index the BAM file from Homework Please provide screenshots of your steps. Proceed with the following steps and respond to the questions as follows:
pts Install the following packages using "sudo apt Each package will require it's own command line. Packages: bcftools, defaultjre, samtools if you have not done so already
sudo apt install bcftools
sudo apt install defaultjre
sudo apt install samtools
pts Using NCBI, download the FASTA and GFF sequence for Bacillus thuringiensis BMBNC and upload it to your virtual lab space. Using samtools, index your FASTA file and attach it and it's corresponding index as part of your response deliverables.
ptsCreate a variant call file using the following command. How many variants total are there? What was the command you used to determine that? Print the first variants.
bcftools mpileup f REFERENCE.fasta BAMName.bam bcftools call mv Ob o STUDENTNAME.variants.bcf
bcftools view Ov o STUDENTNAME.variants.vcf STUDENTNAME.variants.bcf
pts Inspect the header of your newly created vcf file. In addition to the definition of header fields, what are the key fields and their subsequent definitions and data types? Why would this information be useful to have?
pts Using the newly generated VCF file and the gene annotation file you downloaded GFF do the following for the gene gyrB:
a Where is this gene in Bacillus thuringiensis?
b Count all variants that would map back to the gene gyrB Return this number and the command used to find it
c Using a relational database, list two other species that contain this gene name. List the database you used and how you conducted your search.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
