Skip to content

SystemError: <class 'Fasta'> returned a result with an error set; on loading gzipped fasta #63

@jolo2486

Description

@jolo2486

When loading e.g. the below gzipped fasta file:
hgdownload.cse.ucsc.edu/goldenPath/dp3/bigZips/dp3.fa.gz

I get:

fasta = pyfastx.Fasta('./data/genomes/dp3.fa.gz')
RuntimeError: get seq count and length error

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  Cell In[61], line 1
    fasta = pyfastx.Fasta('./data/genomes/dp3.fa.gz')

SystemError: <class 'Fasta'> returned a result with an error set

I am in a conda environment, and installed pyfastx 0.9.1 using pip.

  • Ubuntu 22.04.2 LTS
  • conda 23.1.0
  • python 3.8.16
  • pyfastx 0.9.1

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