Open maxgmarin opened 1 day ago
This frustrates me as well. I have code I can contribute to read compressed files. It would be good to allow this for all input.
It uses a separate process to uncompress, so it doesn't require the python compression code to be compiled in and might be faster as it runs in parallel.
Supporting samtools faidx fasta files would also be good, as it would allow better parallelization of flair.
Hello all,
I have found that the
flair collapse
step will return aUnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
error when a gzipped FASTA is provided for the reference.This issue is completely resolved when I provide the same reference as a FASTA file (no compression).
This isn't a major issue but for future versions of the tool it would be nice if it was compatible with both compressed and uncompressed FASTA files.
Below are some notes:
How did you install Flair?
conda create -n flair -c conda-forge -c bioconda flair
)What happened?