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 arbitrary Dragen arguments #16

Open
adamrtalbot opened this issue Mar 6, 2025 · 0 comments
Open

Add arbitrary Dragen arguments #16

adamrtalbot opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@adamrtalbot
Copy link
Collaborator

adamrtalbot commented Mar 6, 2025

Description of feature

Currently we hard code the arguments supplied to Dragen for each process, however this runs the risk of becoming out of date or not supporting custom functions. In order to make the pipeline more flexible, we should include a method of users supplying custom arguments which are applied to the Dragen command line.

Note this can currently be achieved by setting the ext.args for each process, e.g. add this to a custom configuration file to remove optical duplicates:

process {
    withName: '.*:DRAGEN_DNA:DRAGEN' {
        ext.args = [
            '--enable-map-align true',
            '--enable-map-align-output true',
            '--enable-bam-indexing true',
            '--enable-sort=true',
            '--enable-duplicate-marking',    # Enable duplicate marking
            '--remove-duplicates',           # Remove duplicates
            '--enable-variant-caller true',
            '--enable-duplicate-marking true',
            '--output-format=BAM'
        ].join(" ")
}
@adamrtalbot adamrtalbot added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant