Skip to content

Error decompressing sequences #6

@dcdanko

Description

@dcdanko

I'm getting the following error while using MICA

Error processing queries: Could not decompress coarse sequence 16859848 (16, 43): Could not read compressed sequence: Could not scan coarse sequence residues of 16859848 from coarse-file: input does not match format

This comes from the following segment in coarse.go

n, err := fmt.Fscanf(coarsedb.FileFasta, ">%d\n%s\n", &corSeqId, &residues)

if err != nil {
        return nil, fmt.Errorf("Could not scan coarse sequence residues of %d from coarse-file: %s", id, err)
}

However the relevant lines in coarse.fasta appears to be fine:

>16859848
MKLTEKKKEEWEKLLRDTALIGPIDTIQEHTQGDLWEFGSQTRGNYFFSTEKFVFVGGLGGLTNFSVPYKNIKELKLCNIGGLIPIIPTGIKVTYTDENGKSVKKKCSVMKRKDWLAYLQEKSGIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions