Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleBased on what was just said, what do you think the first 2 things you should do are?
Expand
titleNeed a hint?
  1. Different versions exist
  2. Can be very computationally intensive
Expand
titleThink you know? Check your guess...

Because different versions exist, you need to make sure that you are using the right version:

Code Block
languagebash
titleCheck that you remember how to check if you have access to a command, what version that command is, load a different version, and verify that is the version being used
collapsetrue
which bedtools  # check if you have access to bedtools
bedtools --version  # determine what version of bedtools you are using
 
# This will tell you that the bedtools you are using is in the $BI/bin directory and that you are using version v2.20.1-2-g6f0be00
 
module load bedtools  # load the TACC version of bedtools, remember module spider module avail and module list can help you find exactly what module you are looking for
which bedtools
bedtools --version
 
# This will now tell you that you are using version v2.25.0 which is located in the /opt/apps/bedtools/2.25.0/bin dreictory.

 

Because it is computationally intensive, you need to make sure you are not on the head node

Code Block
languagebash
titleCheck that you remember how to get an idev node (remember to change your reservation to day 3)
collapsetrue
idev  -m 180 -r CCBB_Bio_Summer_School_2016_Day3 -A UT-2015-05-18 -N 2 -n 8

Surely now that you have executed the above commands nothing could possibly go wrong right?

 

Expand
titleHopefully you recognize the bold italic underlined sentence above as a warning that something can (and is likely about to go wrong), but if not ... something is about to go wrong, so try to figure out what that might be, and then click here to see if you are right
 

 

 

 
 If you executed the above commands in the order they are listed from the head node (say because its the first tutorial you ran today and you are not already on a n idev node) you will find that bedtools has reverted to the BioITeam location and version because when you access an idev node it reloads your .bashrc file. Always make sure you are loading tools when and where you need them, and verify their accuracy rather than assuming it. module load bedtools

 

Objectives

  1. Become familiar with how to use bedtools intersect and subtract
  2. Understand when and how bedtools is useful

...