8000 Add default support for haploid variant calls · Issue #596 · nf-core/raredisease · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add default support for haploid variant calls #596

New issue

Have a question about this project? Sign up for a 8000 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

Closed
jemten opened this issue Aug 14, 2024 · 2 comments
Closed

Add default support for haploid variant calls #596

jemten opened this issue Aug 14, 2024 · 2 comments
Labels
enhancement Improvement for existing functionality

Comments

@jemten
Copy link
Collaborator
jemten commented Aug 14, 2024

Description of feature

Deepvariant version 1.6.1 has support for haploid calls on the X and Y chromosome for males, https://github.com/google/deepvariant/blob/r1.6.1/docs/deepvariant-haploid-support.md.

We could add the PAR region file as an optional input to be passed to the module and update the config for deepvariant to by default include the --haploid_contigs parameter for males.

Could something like this:

        ext.args = { [
            "--model_type=${params.analysis_type.toUpperCase()}",
            (meta.sex == 1 ) ? ( (params.genome == 'GRCh37') ? '--haploid_contigs="X,Y"' : '--haploid_contigs="chrX,chrY"' ) ) : ''
        ].join(' ')}

I'm sure that there is a more elegant way of doing it 😆

@jemten jemten added the enhancement Improvement for existing functionality label Aug 14, 2024
@fellen31
Copy link
Contributor

I forgot to add --par_regions_bed with the 1.6.1 module update, (added in nf-core/modules#6022 yesterday), so the module in raredisease needs to be updated again.

@ramprasadn
Copy link
Collaborator

Added in #598

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

No branches or pull requests

3 participants
0