...
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Simply reload samtools using the module system, check the version, and which version is now being used.
I |
Warning | ||
---|---|---|
| ||
execute the following 2 commands command and make sure you get the 3rd 2nd line as output:
If you see something different get our attention or the tutorial will not work. |
Prepare your directories
Since the $SCRATCH directory on lonestar is effectively infinite for our purposes, we're going to copy the relevant files from our mapping tutorial into a new directory for this tutorial. This should help you identify what files came from what tutorial if you look back at it in the future. Let's copy over just the read alignment file in the SAM format and the reference genome in FASTA format to a new directory called BDIB_samtools_tutorial.
...
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Try looking at grep --help to see what you can come up with.
|
Optional Exercises at the end of class or for Wednesday/Thursday choose your own tutorial time.
Calling variants in reads mapped by BWA or the improved read quality reads
...
As suggested in the initial introduction, the point of this optional tutorial is to work through getting a different version of samtools to work (the command line expectations and flags are not as they were , flags, and subcommands (ie bcftools call) were not what they are now in version 0.1.18). To make sure you are starting in the right place:
No Format |
---|
tacc:~$ module loadunload samtools tacc:~$ which samtools /optcorral-repl/appsutexas/samtoolsBioITeam/1.3breseq/bin/samtools mkdir BDIB_samtools_old_version_tutorial cd BDIB_samtools_old_version_tutorial cp $SCRATCH/BDIB_bowtie2_mapping/bowtie2/SRR030257.sam . cp $SCRATCH/BDIB_bowtie2_mapping/NC_012967.1.fasta . |
Good luck, and remember if you undertake this and get frustrated with it, it is a great learning experience and is by far the most difficult thing you will attempt. As part of the learning experience, feel free to contact us with any questions or problems you are specifically having with it, but cookbooked suggestions would defeat the intended purpose of beating your head against the problem to figure it out. You DO have the necessary skills to figure out how to do this now.Return to GVA2016
Expand | ||
---|---|---|
| ||
Last year's class did this tutorial in the opposite manner where the 0.1.18 version was given as the walkthrough rather than the 1.3 version. We strongly suggest you use that tutorial only as a way to check your answers, and hence the lack of a link to that tutorial. |