-
Notifications
You must be signed in to change notification settings - Fork 59
Adding google-nucleus to the REQUIRED_PACKAGES list #416
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,11 +101,14 @@ def _get_sample_variant_1(is_for_nucleus=False): | |
| vcfio.VariantCall(name='Sample2', genotype=[1, 0], info={'GQ': 20})) | ||
| else: | ||
| # 0.1 -> 0.25 float precision loss due to binary floating point conversion. | ||
| vcf_line = ('20 1234 rs123;rs2 C A,T 50 ' | ||
| # rs123;rs2 -> rs123 it seems nuclues does not parse IDs correctly. | ||
| # quality=50 -> 50.0 nucleus converts quality values to float. | ||
| # TODO(samanvp): convert all quality values to float. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @allieychen FYI
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it! Thanks! |
||
| vcf_line = ('20 1234 rs123 C A,T 50 ' | ||
| 'PASS AF=0.5,0.25;NS=1 GT:GQ 0/0:48 1/0:20\n') | ||
| variant = vcfio.Variant( | ||
| reference_name='20', start=1233, end=1234, reference_bases='C', | ||
| alternate_bases=['A', 'T'], names=['rs123', 'rs2'], quality=50, | ||
| alternate_bases=['A', 'T'], names=['rs123'], quality=50.0, | ||
| filters=['PASS'], info={'AF': [0.5, 0.25], 'NS': 1}) | ||
| variant.calls.append( | ||
| vcfio.VariantCall(name='Sample1', genotype=[0, 0], info={'GQ': 48})) | ||
|
|
||
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.
to clarify: is this the new way of using cloud build?
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.
Yes, when I run the deploy_and_run_tests.sh I got the following error message:
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.
I see. Thanks for fixing this! Could you please update the comment in cloudbuild.yaml as well?
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.
done.