nRnYqfrb5pJuTP5YAohj

nextflow.slurm

Jan 26th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #SBATCH --job-name=rnaseq-nextflow
  4. #SBATCH --partition=batch
  5. #SBATCH --error=/home/USERNAME/logs/job.%J.err
  6. #SBATCH --output=/home/USERNAME/logs/job.%J.out
  7.  
  8. module load anaconda/4.6.11-py37
  9. conda activate nf-core-rnaseq-1.4.2
  10.  
  11. echo "CONDA ENV : $CONDA_DEFAULT_ENV"
  12. echo "Starting at `date`"
  13. echo "Running on hosts: $SLURM_NODELIST"
  14. echo "Running on $SLURM_NNODES nodes."
  15. echo "Running $SLURM_NTASKS tasks."
  16. echo "Current working directory is `pwd`"
  17.  
  18. # WORKS OK
  19. # srun nextflow run nf-core/rnaseq -r 1.4.2 -profile test,conda
  20.  
  21. # WORKS OK
  22. # srun nextflow run nf-core/rnaseq -r 1.4.2 -profile cuba,conda,cluster --genome GRCh37 -resume
  23.  
  24. # WORKS 80% - GRCh37 -> GRCh38, use --skipBiotypeQC switch to avoid error | https://bit.ly/3p8fhiN
  25. # srun nextflow run nf-core/rnaseq -r 1.4.2 -profile cuba,conda,cluster --genome GRCh38 --skipBiotypeQC
  26.  
  27. srun nextflow run nf-core/rnaseq -r 1.4.2 -profile cuba,conda,cluster --genome GRCh38 --skipBiotypeQC -resume
  28.  
  29. srun echo "Finished Nextflow process"
  30.  
Add Comment
Please, Sign In to add comment