Explorar el Código

updated scvelo task

Avik Datta hace 3 años
padre
commit
72eea08c77
Se han modificado 2 ficheros con 13 adiciones y 2 borrados
  1. 1 0
      airflow_var/var.json
  2. 12 2
      dags/dag9_tenx_single_cell_immune_profiling.py

+ 1 - 0
airflow_var/var.json

@@ -38,6 +38,7 @@
   "igf_lims_server_hostname":"igf-lims.cc.ic.ac.uk",
   "tenx_single_cell_immune_profiling_feature_types": {"gene_expression":"","vdj-t":"","vdj-b":"","antibody_capture":"","antigen_capture":"","crisper_guide_capture":""},
   "scanpy_single_sample_template":"",
+  "scvelo_single_sample_template": "",
   "scanpy_notebook_image":"",
   "scirpy_single_sample_template":"",
   "scirpy_notebook_image":"",

+ 12 - 2
dags/dag9_tenx_single_cell_immune_profiling.py

@@ -560,8 +560,18 @@ with dag:
     PythonOperator(
       task_id='run_scvelo_for_sc_5p',
       dag=dag,
-      queue='hpc_4G',
-      python_callable=run_scvelo_for_sc_5p_func)
+      queue='hpc_8G8t',
+      python_callable=run_scvelo_for_sc_5p_func,
+      params={'xcom_pull_task': 'run_cellranger',
+              'xcom_pull_files_key': 'cellranger_output',
+              'analysis_description_xcom_pull_task': 'fetch_analysis_info',
+              'analysis_description_xcom_key': 'analysis_description',
+              'loom_file_key': 'loom_output',
+              'loom_file_task': 'run_velocyto',
+              'timeout': 1200,
+              'allow_errors': False,
+              'cpu_threads': 8,
+              'output_notebook_key': 'scvelo_notebook'})
   load_loom_file_to_rds = \
     PythonOperator(
       task_id='load_loom_file_to_rds',