Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gga_load_data
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
abims
e-infra
gga_load_data
Commits
b4965f39
Commit
b4965f39
authored
3 years ago
by
Arthur Le Bars
Committed by
Loraine Gueguen
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
debug logging to display analysis IDs used by galaxy tools (blast interpro workflow)
parent
2a954ac2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!47
v2.5.0
,
!34
WIP: blast and interpro workflow
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gga_run_workflow_phaeo_blast_interpro.py
+20
-0
20 additions, 0 deletions
gga_run_workflow_phaeo_blast_interpro.py
with
20 additions
and
0 deletions
gga_run_workflow_phaeo_blast_interpro.py
+
20
−
0
View file @
b4965f39
...
...
@@ -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
]
=
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment