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

Args for cdm qc output json filepath and analysis results #3

Closed
ryanjameskennedy opened this issue Dec 7, 2023 · 1 comment · Fixed by #4
Closed

Args for cdm qc output json filepath and analysis results #3

ryanjameskennedy opened this issue Dec 7, 2023 · 1 comment · Fixed by #4
Assignees
Labels
enhancement New feature or request

Comments

@ryanjameskennedy
Copy link
Collaborator

ryanjameskennedy commented Dec 7, 2023

CDM needs a qc json output as defined in this issue that is outputted to --qc-results and the usual analysis results outputted to --analysis-results. Essentially we want a conbined qc output produced by prp looking like this:

[
    {
        "software": "quast",
        "version": null,
        "result": {
            "total_length": 2761929,
            "reference_length": 2809422,
            "largest_contig": 188911,
            "n_contigs": 84,
            "n50": 107938,
            "assembly_gc": 32.64,
            "reference_gc": 32.82,
            "duplication_ratio": 1.004
        }
    },
    {
        "software": "postalignqc",
        "version": null,
        "result": {
            "ins_size": 270,
            "ins_size_dev": 259,
            "mean_cov": 60,
            "pct_above_x": {
                "30": 87.4161621758634,
                "1000": 0.0,
                "10": 99.2404637975042,
                "500": 0.00347789180809111,
                "250": 0.0127915681755215,
                "100": 6.22849159705971,
                "1": 99.9462400452715
            },
            "mapped_reads": 1007929,
            "tot_reads": 1140921,
            "iqr_median": 0.616666666666667,
            "dup_pct": 0.0,
            "dup_reads": 0
        }
    },
    {
        "software": "chewbbaca",
        "version": null,
        "result": {
            "n_missing": 192,
        }
    }
]

Also can bump the version (not sure if this is major or minor?)

@ryanjameskennedy ryanjameskennedy added the enhancement New feature or request label Dec 7, 2023
@mhkc
Copy link
Collaborator

mhkc commented Dec 8, 2023

Issue on JASEN

@mhkc mhkc linked a pull request Dec 8, 2023 that will close this issue
@mhkc mhkc closed this as completed in #4 Dec 12, 2023
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

Successfully merging a pull request may close this issue.

2 participants