-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Germline variant payload #15
base: main
Are you sure you want to change the base?
Conversation
payload = { | ||
'analysisType': { | ||
'name': 'variant_processing' | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analysisType should be variant_calling
.
"variant_class":"Germline", | ||
'studyId': analysis_dict.get('studyId'), | ||
'workflow': { | ||
'workflow_name': "%s-%s" % (args.wf_name,args.tool), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put args.tool
into analysis_tools and leave workflow_name
as it is.
elif re.match(r'.*.vcf.gz.tbi$', file_to_upload): | ||
file_type = 'TBI' | ||
file_info.update({'dataType': 'VCF Index'}) | ||
file_info['info'].update({'analysis_tools': [{key.split(":")[-1]:pipeline_info[key]} for key in pipeline_info.keys()]}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can move this pipeline_info into workflow
section, and add individual tool here.
No description provided.