I am trying to load the bed file (see attachement GSM646316_GM12878_H3K27ac_rep1_peaks.bed.zip
)
import pyranges as pr
file = 'GSM646316_GM12878_H3K27ac_rep1_peaks.bed'
pr.read_bed(file)
# This works:
import pandas as pd
pd.read_csv(file, sep='\t', header=False)
it fails with the error:
Length mismatch: Expected axis has 14 elements, new values have 12 elements, however pandas successfully loads the file.
Version of pyranges installed with conda, bioconda channel. Python 3.10.12, Ubuntu 22.04 x86_64
pyranges 0.1.4 pyhdfd78af_0 bioconda
I am trying to load the bed file (see attachement GSM646316_GM12878_H3K27ac_rep1_peaks.bed.zip
)
it fails with the error:
Length mismatch: Expected axis has 14 elements, new values have 12 elements, however pandas successfully loads the file.Version of pyranges installed with conda, bioconda channel. Python 3.10.12, Ubuntu 22.04 x86_64
pyranges 0.1.4 pyhdfd78af_0 bioconda