PacificBiosciences / pb-human-wgs-workflow-snakemake

Workflow for the comprehensive detection and prioritization of variants in human genomes with PacBio HiFi reads
BSD 3-Clause Clear License
38 stars 20 forks source link

Add account resource to lsf profile #129

Closed williamrowell closed 1 year ago

williamrowell commented 1 year ago

Some installations of bsub require a project for billing or time accounting purposes, similar to sbatch --account. Stealing the syntax we used for the slurm profile here.

To use, set the account variable in variables.env.

williamrowell commented 1 year ago

Closes #128

williamrowell commented 1 year ago

Still need to add it to the top level scripts, e.g.,

#!/bin/bash
#BSUB -cwd
#BSUB -P account-name
#BSUB -L /bin/bash
#BSUB -q default
#BSUB -n 4
#BSUB -o ./cluster_logs/lsf-$LSB_JOBNAME-$LSB_JOBID-$HOSTNAME.out
#BSUB -e ./cluster_logs/lsf-$LSB_JOBNAME-$LSB_JOBID-$HOSTNAME.err

And I need to update the tutorial.