Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Germline variant payload #15

wants to merge 4 commits into from

Conversation

edsu7
Copy link
Contributor

@edsu7 edsu7 commented Jun 7, 2023

No description provided.

@edsu7 edsu7 requested a review from lindaxiang June 7, 2023 13:41
payload = {
'analysisType': {
'name': 'variant_processing'
},
Copy link
Contributor

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),
Copy link
Contributor

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()]})
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants