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

Add option for single copy chromosome calls #9

Open
stschiff opened this issue Mar 24, 2020 · 0 comments
Open

Add option for single copy chromosome calls #9

stschiff opened this issue Mar 24, 2020 · 0 comments
Assignees

Comments

@stschiff
Copy link
Owner

It has been suggested to me that in cases where diploid and haploid chromosomes are present, calling should ideally differentiate between the two.

So for example, for human genomes, we should allow to use --randomHaploid for all autosomes, and --majorityCall for Y chromosomes and mitochondria, and even for X chromosomes in case of male samples.

I envision an interface for this which is optional. So we need the following two additional options:

--haploidCh: This can be used multiple times, such as --haploidChr X --haploidChr Y --haploidChr MT. This informs the software about which chromosomes are single copy

--haploidCalling: This option then sets a calling mode for the given haploid chromosomes, independent on the general calling mode. So --randomHaploid --haploidCalling=MajorityCall would specify that only for the chromosomes denoted as haploid, we should use the MajorityCall mode, while for all other chromosomes, we should use the mode set with --randomHaploid.

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

No branches or pull requests

1 participant