|
@@ -39,51 +39,51 @@ with dag:
|
|
|
## TASK
|
|
|
switch_off_project_barcode = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'switch_off_project_barcode',
|
|
|
- dag = dag,
|
|
|
- ssh_hook = orwell_ssh_hook,
|
|
|
+ task_id='switch_off_project_barcode',
|
|
|
+ dag=dag,
|
|
|
+ ssh_hook=orwell_ssh_hook,
|
|
|
queue='hpc_4G',
|
|
|
- command = 'bash /home/igf/igf_code/IGF-cron-scripts/orwell/switch_off_project_barcode_check.sh ')
|
|
|
+ command='bash /home/igf/igf_code/IGF-cron-scripts/orwell/switch_off_project_barcode_check.sh ')
|
|
|
## TASK
|
|
|
change_samplesheet_for_run = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'change_samplesheet_for_run',
|
|
|
- dag = dag,
|
|
|
+ task_id='change_samplesheet_for_run',
|
|
|
+ dag=dag,
|
|
|
queue='hpc_4G',
|
|
|
- ssh_hook = orwell_ssh_hook,
|
|
|
- command = 'bash /home/igf/igf_code/IGF-cron-scripts/orwell/change_samplesheet_for_seqrun.sh ')
|
|
|
+ ssh_hook=orwell_ssh_hook,
|
|
|
+ command='bash /home/igf/igf_code/IGF-cron-scripts/orwell/change_samplesheet_for_seqrun.sh ')
|
|
|
## TASK
|
|
|
restart_seqrun_processing = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'restart_seqrun_processing',
|
|
|
- dag = dag,
|
|
|
+ task_id='restart_seqrun_processing',
|
|
|
+ dag=dag,
|
|
|
queue='hpc_4G',
|
|
|
- ssh_hook = orwell_ssh_hook,
|
|
|
- command = 'bash /home/igf/igf_code/IGF-cron-scripts/orwell/restart_seqrun_processing.sh ')
|
|
|
+ ssh_hook=orwell_ssh_hook,
|
|
|
+ command='bash /home/igf/igf_code/IGF-cron-scripts/orwell/restart_seqrun_processing.sh ')
|
|
|
## TASK
|
|
|
register_project_metadata = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'register_project_metadata',
|
|
|
- dag = dag,
|
|
|
+ task_id='register_project_metadata',
|
|
|
+ dag=dag,
|
|
|
queue='hpc_4G',
|
|
|
- ssh_hook = orwell_ssh_hook,
|
|
|
- command = 'bash /home/igf/igf_code/IGF-cron-scripts/orwell/register_metadata.sh ')
|
|
|
+ ssh_hook=orwell_ssh_hook,
|
|
|
+ command='bash /home/igf/igf_code/IGF-cron-scripts/orwell/register_metadata.sh ')
|
|
|
## TASK
|
|
|
find_new_seqrun = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'find_new_seqrun',
|
|
|
- dag = dag,
|
|
|
+ task_id='find_new_seqrun',
|
|
|
+ dag=dag,
|
|
|
queue='hpc_4G',
|
|
|
- ssh_hook = orwell_ssh_hook,
|
|
|
- command = 'bash /home/igf/igf_code/IGF-cron-scripts/orwell/find_new_seqrun.sh ')
|
|
|
+ ssh_hook=orwell_ssh_hook,
|
|
|
+ command='bash /home/igf/igf_code/IGF-cron-scripts/orwell/find_new_seqrun.sh ')
|
|
|
## TASK
|
|
|
seed_demultiplexing_pipe = \
|
|
|
SSHOperator(
|
|
|
- task_id = 'seed_demultiplexing_pipe',
|
|
|
- dag = dag,
|
|
|
+ task_id='seed_demultiplexing_pipe',
|
|
|
+ dag=dag,
|
|
|
ssh_hook=hpc_hook,
|
|
|
queue='hpc_4G',
|
|
|
- command = 'bash /rds/general/user/igf/home/git_repo/IGF-cron-scripts/hpc/seed_demultiplexing_pipeline.sh ')
|
|
|
+ command='bash /rds/general/user/igf/home/git_repo/IGF-cron-scripts/hpc/seed_demultiplexing_pipeline.sh ')
|
|
|
|
|
|
## PIPELINE
|
|
|
switch_off_project_barcode >> change_samplesheet_for_run >> restart_seqrun_processing
|