ICommands-Sapelo2: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
=== Running Program ===
=== Running Program ===
   
   
Also refer to [[Running Jobs on Sapelo2]].
*Version 4.1.12, installed on Sapelo2 transfer nodes (xfer.gacrc.uga.edu)


*Version 1.0.2, installed in /apps/eb/HpcGridRunner/1.0.2
Please log on Sapelo2 cluster transfer node to use iCommands:


To use this version of HpcGridRunner, please first load the module with
<pre class="gscript">
<pre class="gscript">
ml HpcGridRunner/1.0.2
ssh username@xfer.gacrc.uga.edu
</pre>
 
Running a blast job in parallel by splitting the fasta file:
You will need to change the YOUR_QUERY_FASTA.fasta to the name of your fasta file. The cmd_template can be change to reflect your blast command. Leave the -query parameter set to __QUERY_FILE__ value and hpc_FASTA_Gridrunner will fill it dynamically.
You can also change the values for outfmt, evalue, max_target_seqs and db. Do not change the num_threads value unless you use a conf file that allocates more than one cpu.
The grid_conf file specified below will request one CPU core and 3GB of RAM.
 
<pre class="gscript">
#!/bin/bash
#SBATCH --partition batch
#SBATCH --ntasks=1
#SBATCH --time=48:00:00
#SBATCH --mem=3gb
 
ml hpcgridrunner/1.0.2
ml BLAST+/2.10.1-gompi-2019b
 
hpc_FASTA_GridRunner.pl --grid_conf=$HPCGR_CONF_DIR/sapelo_1c_3G.conf --cmd_template "blastp -query __QUERY_FILE__ -db /db/uniprot/latest/uniprot_sprot  -max_target_seqs 1 -outfmt 6 -evalue 1e-5 -num_threads 1" --seqs_per_bin 250 --query_fasta YOUR_QUERY_FASTA.fasta --out_dir blast_result
 
</pre>
</pre>



Revision as of 10:40, 8 December 2020


Category

Tools

Program On

Sapelo2

Version

4.1.12

Author / Distributor

Please see iCommands

Description

From iCommands: "iCommands is a collection of commands for Linux and Mac OS operating systems that are used in the iRODS system to interact with the CyVerse Data Store."

Running Program

  • Version 4.1.12, installed on Sapelo2 transfer nodes (xfer.gacrc.uga.edu)

Please log on Sapelo2 cluster transfer node to use iCommands:

ssh username@xfer.gacrc.uga.edu

The blast results for the each of the split group will be in a separate file under the specified output directory. The file name will end in fa.OUT. To gather the blast output you can generally concatenate all the individual outputs. You can use the following command to find and concatenate all the output files.

find OUTPUT_DIR -name '*.fa.OUT' | xargs cat > combined_blast_results.out

Documentation

Please see http://hpcgridrunner.github.io/

Back to Top

Installation

Installed in /apps/eb/HpcGridRunner/1.0.2

System

64-bit Linux