CCBR / RENEE

A comprehensive quality-control and quantification RNA-seq pipeline
https://CCBR.github.io/RENEE/
MIT License
4 stars 4 forks source link

feat: set fastq screen & kraken db shared resource paths depending on HPC #78

Closed kelly-sovacool closed 10 months ago

kelly-sovacool commented 10 months ago

Changes

Detect the HPC and use a different fastq screen config file and kraken db path depending on if it's Biowulf or FRCE. Still allow users to override these with --shared-resources flag

Tests

Biowulf

RENEE_DIR=/data/CCBR_Pipeliner/Pipelines/RENEE/renee-dev-sovacool
WORKDIR=/data/sovacoolkl/renee_test_iss-64
rm -rf $WORKDIR

module load ccbrpipeliner
$RENEE_DIR/bin/renee run \
    --input $RENEE_DIR/.tests/*.R?.fastq.gz \
    --output $WORKDIR \
    --genome hg38_30 \
    --mode slurm \
    --sif-cache /data/CCBR_Pipeliner/SIFS

FRCE

#!/bin/bash
RENEE_DIR=/mnt/projects/CCBR-Pipelines/pipelines/RENEE/renee-dev-sovacool
WORKDIR=/scratch/cluster_scratch/$USER/renee_test_iss-64
rm -rf $WORKDIR

module load singularity
$RENEE_DIR/bin/renee run \
    --input $RENEE_DIR/.tests/*.R?.fastq.gz \
    --output $WORKDIR \
    --tmp-dir $WORKDIR \
    --genome hg38_30 \
    --mode slurm \
    --sif-cache /mnt/projects/CCBR-Pipelines/SIFs

Issues

Fixes #64

PR Checklist

(~Strikethrough~ any points that are not applicable.)

kelly-sovacool commented 10 months ago

waiting on #85 to be merged so I can test this again with those fixes incorporated

Test runs worked.

kelly-sovacool commented 10 months ago

@kopardev just waiting on you to review this before we can merge it.