You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run it I don't know why but I get this error: zsh: segmentation fault
The file should be accessible and correct and I get this error only when I run pyBigwig
The text was updated successfully, but these errors were encountered:
If memory serves you need to add the bigWig header with bw.addHeader([("chr3", 103385938)]) first. Remember that bigWig files are kind of like BAM files, they have a header that lists the contigs, their order and size.
this is my code:
import pyBigWig
bigwig_file = "MB12_H3K27me3copy.bw"
bw = pyBigWig.open(bigwig_file, 'w')
bw.addEntries(['chr3'], [103385937],ends=[103385938], values=[0.])
bw.close()
When I run it I don't know why but I get this error: zsh: segmentation fault
The file should be accessible and correct and I get this error only when I run pyBigwig
The text was updated successfully, but these errors were encountered: