Skip to content
Snippets Groups Projects
Commit b4965f39 authored by Arthur Le Bars's avatar Arthur Le Bars Committed by Loraine Gueguen
Browse files

debug logging to display analysis IDs used by galaxy tools (blast interpro workflow)

parent 2a954ac2
No related branches found
No related tags found
2 merge requests!47v2.5.0,!34WIP: blast and interpro workflow
......@@ -504,6 +504,14 @@ if __name__ == "__main__":
# Set the workflow parameters (individual tools runtime parameters in the workflow)
workflow_parameters = dict()
# IMPORTANT:
# There seems to be an issue with the synchronize analysis tool in the workflow
# It affects the first analysis found (genome analysis) instead of the provided ones below
# Use --verbose argument to get debug logging to display the analysis IDs
logging.debug("Blastp analysis id for organism 1 ({0}): {1}".format(genus_species, org_wf_param.blastp_analysis_id))
logging.debug("Blastx analysis id for organism 1 ({0}): {1}".format(genus_species, org_wf_param.blastp_analysis_id))
logging.debug("InterProScan analysis id for organism 1 ({0}): {1}".format(genus_species , org_wf_param.interpro_analysis_id))
# Input files have no parameters (they are set via assigning the hda IDs in the datamap parameter of the bioblend method)
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_1_ORG_INPUT_BLASTP] = {}
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_1_ORG_INPUT_BLASTX] = {}
......@@ -519,6 +527,7 @@ if __name__ == "__main__":
"analysis_id": org_wf_param.interpro_analysis_id}
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_1_ORG_POPULATE_MAT_VIEWS] = {}
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_1_ORG_INDEX_TRIPAL_DATA] = {}
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_1_ORG_SYNC_BLASTP_ANALYSIS] = {
"analysis_id": org_wf_param.blastp_analysis_id
}
......@@ -585,6 +594,17 @@ if __name__ == "__main__":
# Set the workflow parameters (individual tools runtime parameters in the workflow)
workflow_parameters = dict()
# IMPORTANT:
# There seems to be an issue with the synchronize analysis tool in the workflow
# It affects the first analysis found (genome analysis) instead of the provided ones below
# Use --verbose argument to get debug logging to display the analysis IDs
logging.debug("Blastp analysis id for organism 1 ({0}, {1}): {2}".format(genus_species, strain_sex_org1, sp_wf_param_org1.blastp_analysis_id))
logging.debug("Blastx analysis id for organism 1 ({0}, {1}): {2}".format(genus_species, strain_sex_org1, sp_wf_param_org1.blastp_analysis_id))
logging.debug("InterProScan analysis id for organism 1 ({0}, {1}): {2}".format(genus_species, strain_sex_org1, sp_wf_param_org1.interpro_analysis_id))
logging.debug("Blastp analysis id for organism 2 ({0}, {1}): {2}".format(genus_species, strain_sex_org2, sp_wf_param_org2.blastp_analysis_id))
logging.debug("Blastx analysis id for organism 2 ({0}, {1}): {2}".format(genus_species, strain_sex_org2, sp_wf_param_org2.blastp_analysis_id))
logging.debug("InterProScan analysis id for organism 2 ({0}, {1}): {2}".format(genus_species, strain_sex_org2, sp_wf_param_org2.interpro_analysis_id))
# Input files have no parameters (they are set via assigning the hda IDs in the datamap parameter of the bioblend method)
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_2_ORG_INPUT_BLASTP_ORG1] = {}
workflow_parameters[constants_phaeo.WF_BLAST_INTERPRO_2_ORG_INPUT_BLASTP_ORG2] = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment