BLAST+-Teaching: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


=== Version ===
=== Version ===
2.6.0
2.9.0
   
   
=== Author / Distributor ===
=== Author / Distributor ===
Line 21: Line 21:
=== Running Program ===
=== Running Program ===


The last version of this application is at /usr/local/apps/eb/BLAST+/2.6.0-foss-2016b-Python-2.7.14
The last version of this application is at /apps/eb/BLAST+/2.9.0-gompi-2019b


To use this version, please load the module with
To use this version, please load the module with
<pre class="gscript">
<pre class="gscript">
ml BLAST+/2.6.0-foss-2016b-Python-2.7.14
ml BLAST+/2.9.0-gompi-2019b
</pre>  
</pre>  


Line 43: Line 43:
   
   
cd $SLURM_SUBMIT_DIR<br>
cd $SLURM_SUBMIT_DIR<br>
ml BLAST+/2.6.0-foss-2016b-Python-2.7.14<br>     
ml BLAST+/2.9.0-gompi-2019b<br>     
blastn <u>[options]</u><br>   
blastn <u>[options]</u><br>   
</div>
</div>
Line 59: Line 59:
   
   
<pre  class="gcommand">
<pre  class="gcommand">
ml BLAST+/2.6.0-foss-2016b-Python-2.7.14
ml BLAST+/2.9.0-gompi-2019b
blastn -h
blastn -h
USAGE
USAGE
   blastn [-h] [-help] [-import_search_strategy filename]
   blastn [-h] [-help] [-import_search_strategy filename]
     [-export_search_strategy filename] [-task task_name] [-db database_name]
     [-export_search_strategy filename] [-task task_name] [-db database_name]
     [-dbsize num_letters] [-gilist filename] [-seqidlist filename]
     [-dbsize num_letters] [-gilist filename] [-seqidlist filename]
     [-negative_gilist filename] [-entrez_query entrez_query]
     [-negative_gilist filename] [-negative_seqidlist filename]
    [-taxids taxids] [-negative_taxids taxids] [-taxidlist filename]
    [-negative_taxidlist filename] [-entrez_query entrez_query]
     [-db_soft_mask filtering_algorithm] [-db_hard_mask filtering_algorithm]
     [-db_soft_mask filtering_algorithm] [-db_hard_mask filtering_algorithm]
     [-subject subject_input_file] [-subject_loc range] [-query input_file]
     [-subject subject_input_file] [-subject_loc range] [-query input_file]
Line 72: Line 75:
     [-perc_identity float_value] [-qcov_hsp_perc float_value]
     [-perc_identity float_value] [-qcov_hsp_perc float_value]
     [-max_hsps int_value] [-xdrop_ungap float_value] [-xdrop_gap float_value]
     [-max_hsps int_value] [-xdrop_ungap float_value] [-xdrop_gap float_value]
     [-xdrop_gap_final float_value] [-searchsp int_value]
     [-xdrop_gap_final float_value] [-searchsp int_value] [-penalty penalty]
    [-sum_stats bool_value] [-penalty penalty] [-reward reward] [-no_greedy]
    [-reward reward] [-no_greedy] [-min_raw_gapped_score int_value]
    [-min_raw_gapped_score int_value] [-template_type type]
    [-template_type type] [-template_length int_value] [-dust DUST_options]
    [-template_length int_value] [-dust DUST_options]
     [-filtering_db filtering_database]
     [-filtering_db filtering_database]
     [-window_masker_taxid window_masker_taxid]
     [-window_masker_taxid window_masker_taxid]
     [-window_masker_db window_masker_db] [-soft_masking soft_masking]
     [-window_masker_db window_masker_db] [-soft_masking soft_masking]
     [-ungapped] [-culling_limit int_value] [-best_hit_overhang float_value]
     [-ungapped] [-culling_limit int_value] [-best_hit_overhang float_value]
     [-best_hit_score_edge float_value] [-window_size int_value]
     [-best_hit_score_edge float_value] [-subject_besthit]
    [-off_diagonal_range int_value] [-use_index boolean] [-index_name string]
    [-window_size int_value] [-off_diagonal_range int_value]
    [-lcase_masking] [-query_loc range] [-strand strand] [-parse_deflines]
    [-use_index boolean] [-index_name string] [-lcase_masking]
    [-outfmt format] [-show_gis] [-num_descriptions int_value]
    [-query_loc range] [-strand strand] [-parse_deflines] [-outfmt format]
    [-num_alignments int_value] [-line_length line_length] [-html]
    [-show_gis] [-num_descriptions int_value] [-num_alignments int_value]
     [-max_target_seqs num_sequences] [-num_threads int_value] [-remote]
    [-line_length line_length] [-html] [-sorthits sort_hits]
    [-version]
     [-sorthsps sort_hsps] [-max_target_seqs num_sequences]
    [-num_threads int_value] [-remote] [-version]


DESCRIPTION
DESCRIPTION
   Nucleotide-Nucleotide BLAST 2.6.0+
   Nucleotide-Nucleotide BLAST 2.9.0+


Use '-help' to print detailed descriptions of command line arguments
Use '-help' to print detailed descriptions of command line arguments
</pre>
</pre>
[[#top|Back to Top]]
[[#top|Back to Top]]

Revision as of 13:20, 27 August 2020

Category

Bioinformatics

Program On

Teaching

Version

2.9.0

Author / Distributor

BLAST+

Description

"Basic Local Alignment Search Tool, or BLAST, is an algorithm for comparing primary biological sequence information, such as the amino-acid sequences of different proteins or the nucleotides of DNA sequences." More details are at BLAST+

Running Program

The last version of this application is at /apps/eb/BLAST+/2.9.0-gompi-2019b

To use this version, please load the module with

ml BLAST+/2.9.0-gompi-2019b

Here is an example of a shell script, sub.sh, to run on the batch queue:

#!/bin/bash
#SBATCH --job-name=j_BLAST+
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=1
#SBATCH --mem=10gb
#SBATCH --time=08:00:00
#SBATCH --output=BLAST+.%j.out
#SBATCH --error=BLAST+.%j.err

cd $SLURM_SUBMIT_DIR
ml BLAST+/2.9.0-gompi-2019b
blastn [options]

In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.

Please refer to Running_Jobs_on_the_teaching_cluster, Run X window Jobs and Run interactive Jobs for more details of running jobs at Teaching cluster.


Here is an example of job submission command:

sbatch ./sub.sh 

Documentation

ml BLAST+/2.9.0-gompi-2019b
blastn -h

USAGE
  blastn [-h] [-help] [-import_search_strategy filename]
    [-export_search_strategy filename] [-task task_name] [-db database_name]
    [-dbsize num_letters] [-gilist filename] [-seqidlist filename]
    [-negative_gilist filename] [-negative_seqidlist filename]
    [-taxids taxids] [-negative_taxids taxids] [-taxidlist filename]
    [-negative_taxidlist filename] [-entrez_query entrez_query]
    [-db_soft_mask filtering_algorithm] [-db_hard_mask filtering_algorithm]
    [-subject subject_input_file] [-subject_loc range] [-query input_file]
    [-out output_file] [-evalue evalue] [-word_size int_value]
    [-gapopen open_penalty] [-gapextend extend_penalty]
    [-perc_identity float_value] [-qcov_hsp_perc float_value]
    [-max_hsps int_value] [-xdrop_ungap float_value] [-xdrop_gap float_value]
    [-xdrop_gap_final float_value] [-searchsp int_value] [-penalty penalty]
    [-reward reward] [-no_greedy] [-min_raw_gapped_score int_value]
    [-template_type type] [-template_length int_value] [-dust DUST_options]
    [-filtering_db filtering_database]
    [-window_masker_taxid window_masker_taxid]
    [-window_masker_db window_masker_db] [-soft_masking soft_masking]
    [-ungapped] [-culling_limit int_value] [-best_hit_overhang float_value]
    [-best_hit_score_edge float_value] [-subject_besthit]
    [-window_size int_value] [-off_diagonal_range int_value]
    [-use_index boolean] [-index_name string] [-lcase_masking]
    [-query_loc range] [-strand strand] [-parse_deflines] [-outfmt format]
    [-show_gis] [-num_descriptions int_value] [-num_alignments int_value]
    [-line_length line_length] [-html] [-sorthits sort_hits]
    [-sorthsps sort_hsps] [-max_target_seqs num_sequences]
    [-num_threads int_value] [-remote] [-version]

DESCRIPTION
   Nucleotide-Nucleotide BLAST 2.9.0+

Use '-help' to print detailed descriptions of command line arguments

Back to Top

Installation

Source code is obtained from BLAST+

System

64-bit Linux