Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to run tormes on HPC clusters #14

Open
biobrad opened this issue Dec 22, 2019 · 4 comments
Open

Script to run tormes on HPC clusters #14

biobrad opened this issue Dec 22, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@biobrad
Copy link
Collaborator

biobrad commented Dec 22, 2019

Hi all,
not an issue, but thought I would share a script I wrote that auto-creates the samples_metadata file from the files you have in your folder and also adds the reference genome file to the arguments.
It then sftps your files over to a HPC (it is configured for the one at my university so you would need to change it). It also creates a 'slurm' job submission file to run tormes. Finally, it also creates a script to retrieve the files once you receive notification that tormes has finished.

It is my first script so it is probably a bit under optimised, but it gets the job done and the parts that parse the file names into an array and then puts them into the samples_metadata text file may come in handy for other people (that was the part that took me the longest!!!)

Cheers!
Brad
tormesbot.txt

@nmquijada
Copy link
Owner

Hi Brad,

Really thanks for sharing your code. I think it will be helpful for other users using HPC and slurm. When we started the tormes project, networking with people by giving and receiving feedback was one of our main aims.
Have you considered creating a GitHub repository? If so, I would reference to your code in the tormes documentation. Otherwise I might refer to this issue.
Good that you opened the box of scripting! The first most important thing is that it gets the job done :)

Best,
Narciso

@biobrad
Copy link
Collaborator Author

biobrad commented Jan 10, 2020

Hi Narciso,

Done! I have created a repository here: https://github.com/stenotrophomonas/tormesbot/wiki/Tormesbot

Feel free to delete this thread from the issues section!

cheers mate
Brad

@nmquijada
Copy link
Owner

It is better later than never...
Welcome to the tormes documentation ;)

@biobrad
Copy link
Collaborator Author

biobrad commented Jan 31, 2020 via email

@nmquijada nmquijada added the enhancement New feature or request label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants