Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (24 sloc) 3.4 KB

alttext ##Blastx annotation All of the scripts you will need to complete this lab as well as the sample dataset will be copied to your Beocat directory as you follow the instructions below. You should type or paste the text in the beige code block into your terminal as you follow along with the instructions below. If you are not used to commandline, practice with real data is one of the best ways to learn.

If you would like a quick primer on basic linux commands try these 10 minute lessons from Software Carpentry To learn to start using Beocat and begin using the terminal go to Learn how to download files from Beocat at

The ncbi “blastx” search tool translates a nucleotide query into all six frames and compares these six translations to a protein database. We will be using the script "" to organize our working directory and write scripts to blast putative transcripts from our de novo transcriptome against the nr protein database.

You can read more about blast commandline tools by going to their manual or typing /homes/bioinfo/bioinfo_software/ncbi-blast-2.2.28+/bin/blastx -help.

###Step 1: Clone the Git repositories

git clone

###Step 2: Create project directory and add your input data to it

Make a working directory.

mkdir test_blastx

cd test_blastx

Create symbolic links to putative transcripts from the de novo transcriptome created from human breast cancer cell line RNA. Creating a symbolic link rather than copying avoids wasting disk space and protects your raw data from being altered. Our sample dataset was assembled from cell line RNA from the Galaxy data libraries

ln -s /homes/bioinfo/pipeline_datasets/Blastx/* ~/test_blastx/

###Step 3: Write blast scripts

perl ~/RNA-Seq-annotation-and-comparison/KSU_bioinfo_lab/Blastx/ -m 10 -f ~/test_blastx/CDH_clustermergedAssembly_cell_line_33.fa

Step 4: Run Blast scripts

When these jobs are complete go to next step. Test completion by typing "status" in a Beocat session.

bash ~/test_blastx/

Check for blasts that timed out

perl ~/RNA-Seq-annotation-and-comparison/KSU_bioinfo_lab/Blastx/ -x ~/test_blastx/blasts

If~/test_blastx/blasts/unfinished.fasta is an empty file annotation is complete. If fasta sequences have been added to it you will need to run on ~/test_blastx/blasts/unfinished.fasta. You should increase the hours of runtime allowed for each job because these remaining sequences timed out before the job finished.

perl ~/RNA-Seq-annotation-and-comparison/KSU_bioinfo_lab/Blastx/ --h_rt 8:00:00 -m 10 -f ~/test_blastx/blasts/unfinished.fasta

Next check to make sure that the file ~/test_blastx/blasts/blasts/unfinished.fasta is empty. If it is not empty repeat the running on the most recent output followed by until produces an empty fasta file.