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

Corrupted samples aren't removed from samples_data_*.json #344

Open
svarona opened this issue Nov 29, 2024 · 0 comments
Open

Corrupted samples aren't removed from samples_data_*.json #344

svarona opened this issue Nov 29, 2024 · 0 comments
Assignees

Comments

@svarona
Copy link
Member

svarona commented Nov 29, 2024

When a sample is corrupted or has a md5 mismatch:

            "51260992": {
                "valid": false,
                "errors": [
                    "corrupted or md5 mismatch for AND42038.R2.fastq.gz"
                ],
                "warnings": []
            },

It is not being removed from samples_data_*.json:

    "51260992": {
        "fastq_r1_md5": "929afcb4017667621570efb854b918cb",
        "fastq_r2_md5": null,
        "r1_fastq_filepath": "/data/bioinfoshare/UCCT_Relecov/COD-2402-AND-HUCSC/20241128170307",
        "r2_fastq_filepath": "/data/bioinfoshare/UCCT_Relecov/COD-2402-AND-HUCSC/20241128170307",
        "sequence_file_R1_fastq": "AND42038.R1.fastq.gz",
        "sequence_file_R2_fastq": "AND42038.R2.fastq.gz"
    },

And the corrupted file is copied back into the SFTP, when neither files should be copied there, just write to the lab so that sample can be included in the next batch.

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

No branches or pull requests

1 participant