Skip to content

Conversation

@SophieS9
Copy link

@SophieS9 SophieS9 commented Aug 5, 2025

WORK IN PROGRESS

Can I get an interim code review on this to make sure that you're happy with the general set up? To run, log into the landing server and bash the cron:
bash /Data-MSA/diagnostics/pipelines/DragenQC/start_dragen_cron.log

This looks for runs in /Data-MSA/raw with the RTAComplete.txt. There is a WES run in there at the moment which I've tested it on and I've copied 250722_A00748_0725_AHYFHKDRX5 which hasn't been tested yet.

Can be used in conjunction with the changes made to DragenGE here - AWGL/DragenGE#22. If you're happy with the general flow, will make equivalent changes to DragenWGS to match and test on landing server to see if dragen1 is big enough to do this with the move off as we're going.

(Also looks like development is out of sync with master here so there are some bigger changes which are part of that!)

Copy link
Contributor

@josephhalstead josephhalstead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Might be worth moving all the scripts we need into this repo e.g. make_variables etc

set -euo pipefail

# set max processes and open files as these differ between wren and head node - do we still need this?
#ulimit -S -u 16384
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep can get rid - was a wierd slurm/Wren thing


echo "Running $run on dragen1"
ssh -i ~/.ssh/id_rsa_dragen dragen@192.168.1.19 "nohup bash /mnt/Data-MSA/diagnostics/pipelines/DragenQC/DragenQC.sh ${path} > /mnt/Data-MSA/raw/logs/${run}.log 2>&1 &"
touch $dragen_markers/${run}_dragen1_locked
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lock before running DragenQC? Probably makes no difference in reality but you never know

@SophieS9
Copy link
Author

SophieS9 commented Aug 8, 2025

Made a new repository for this as suggested - https://github.com/AWGL/landing_server_infra. Will action changes there!

@SophieS9 SophieS9 closed this Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants