Open pabloswfly opened 3 years ago
Could you possibly give the specifics of which functions you commented out? I attempted to recreate this fix and it is now saying snaptools is not installed even though when I run snaptools --version I get an output
Hi,
When trying to generate a .snap file from a .bed.gz-converted Cellranger fragment file, I was encountering the following error:
Investigating the source code, I realized the parsing function was not accounting for the header section of the .bed file (lines commented out with #). This simple fix did the trick but needs to be incorporated each time that the bed file is read, on snap.py at line 257 and 443:
and line 348 (as the read line is not previously converted into str):
Hope you can incorporate it into the code to avoid future conflicts.
Regards, Pablo