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 config files for more tools #27

Open
bounlu opened this issue Sep 4, 2024 · 0 comments
Open

Add config files for more tools #27

bounlu opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bounlu
Copy link

bounlu commented Sep 4, 2024

Hi,

Please add more config files to support more annotation tools and variant callers like here.

    public static String getTMBdatabase(String annotation) {

        String dbConfig = "";

        switch (annotation) {
            case 'snpeff': dbConfig = "$projectDir/assets/tmb/snpeff.yml";
                            break
            case 'vep': dbConfig = "$projectDir/assets/tmb/vep.yml";
                            break
            case 'merge': dbConfig = "$projectDir/assets/tmb/merge.yml";
                            break
        }

        return dbConfig
    }

    public static String getTMBvariantcaller(String variantcaller) {

        String varConfig = "";

        switch (variantcaller) {
            case 'deepvariant': varConfig = "$projectDir/assets/tmb/deepvariant.yml";
                            break
            case 'freebayes': varConfig = "$projectDir/assets/tmb/freebayes.yml";
                            break
            case 'haplotypecaller': varConfig = "$projectDir/assets/tmb/haplotypecaller.yml";
                            break
            case 'mpileup': varConfig = "$projectDir/assets/tmb/mpileup.yml";
                            break
            case 'mutect2': varConfig = "$projectDir/assets/tmb/mutect2.yml";
                            break
            case 'strelka': varConfig = "$projectDir/assets/tmb/strelka.yml";
                            break
        }

        return varConfig

    }
@nservant nservant added the enhancement New feature or request label Sep 9, 2024
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

2 participants