Skip to content

A silly set of shell-scripts and aliases for more easily submitting small jobs

Notifications You must be signed in to change notification settings

mathiasbio/pbssubmitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbssubmitter

Just a set of small bashscripts and aliases to more easily submit jobs through the PBS cluster at IEO.

No need to write qsub scripts, you can simply run ./install.sh which will add some aliases to your .bashrc

Then you can use these aliases in the following way

Example:

submit_small "singularity run --bind /hpcnfs /hpcnfs/techunits/bioinformatics/singularity/gatk_4.1.9.0.sif samtools index /full/path/to/SRR5665260.Aligned.sortedByCoord.out.bam"

An example alias was also created to illustrate how the above samtools through singularity command could be run more easily with another alias:

alias asamtools='echo singularity run --bind /hpcnfs /hpcnfs/techunits/bioinformatics/singularity/gatk_4.1.9.0.sif samtools'

Where the same command would be instead:

submit_small "$(asamtools) index /full/path/to/SRR5665260.Aligned.sortedByCoord.out.bam"

logging and generated qsub-scripts

The scripts works by generating qsub-scripts from the argument given to the alias. This is nice to keep track on what jobs you have done. In the submit_wrapper.sh the path to where the qsubscripts will be saved is set as well as where the logfiles from the standard out and errs from the qsub command. You can change these however you want.

You can customize this however you want...it's just a simple example

About

A silly set of shell-scripts and aliases for more easily submitting small jobs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages