Skip to content

Instantly share code, notes, and snippets.

View colindaven's full-sized avatar

Colin Davenport colindaven

  • Germany
View GitHub Profile
@colindaven
colindaven / gist:27f49a8e79fa384499c5f81b2fa888de
Last active February 20, 2024 10:20
Using Nextflow in Galaxy
# Using Nextflow in Galaxy
* Nextflow is the workflow management tool used widely in bioinformatics
* Galaxy is a server based GUI tool with a nice interface and is also used to start workflows
## Can it be done ?
* There are few reports online, but it is possible. eg https://galaxyproject.org/blog/2022-08-15-making-nextflow-work-with-galaxy-at-cfsan-fda/
* The main requirements:
* a) install Nextflow using a direct JAR download, not via conda. This may be because it collides with the internal Galaxy conda environments
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colindaven
colindaven / checkDisk.sh
Last active October 25, 2021 10:11 — forked from brimur/checkDisk.sh
Cron script to control
# Name: checkDisk.sh
# Created by: Originally by Brimur, simple rewrite for sftp by colindaven
# Created: Nov 26th 2019, Oct 2021
# This script is used to control sftp jobs based on available disk space.
#
# This should be run as a cronjob (every minute) on the server/computer running sftp
#
# If you use a download manager tell it to add jobs as PAUSED
#
# - If disk is nearly full (limit) then stop all sftp jobs - kill
gmap -f gff3_gene -D /lager2/rcug/seqres/HS/gmap/ -d hg19.gmap -B 5 -t 36 --max-intronlength-middle=150000 --totallength=1000000 --npaths 1 -p 3 10372_comb2_cln.fasta > 10372_comb2_cln.fasta.gff3