Skip to content

SystemError: <built-in method values of pyBigWig.bigWigFile object at 0x14f4562ff0> returned a result with an error set #4

@Jingxian-Huang

Description

@Jingxian-Huang

Hi, thanks for creating this excellent tool.

I encountered a error when runing step 2.2.2, this is the code I run: MotifRaptor snpfeature -wd step2_out -c ung" -cb step1_out/testcelltype/bedfiles

One thing may be related is that, I did not get any highlighted TF (significant one) from step 2.2.1, could this be the reason?

This is the error I got:

Namespace(cell_type='lung', command='snpfeature', snp_bed_files='step1_out/testcltype/bedfiles', workdir='step2_out')
Processing...UCE.bed!!!
Processing...phastCons.bw!!!
TypeError: argument 2 must be int, not numpy.int64

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

Traceback (most recent call last):
  File "/rds/general/user/jh622/home/anaconda3/envs/motifraptor_env/bin/MotifRapr", line 10, in <module>
    sys.exit(main())
  File "/rds/general/user/jh622/home/anaconda3/envs/motifraptor_env/lib/python3.site-packages/MotifRaptor/MotifRaptor.py", line 265, in main
    SNPfeatures.SNPfeatures_main(featurefolder, SNPbedfile, SNPfeaturedf_outfileSNPnormalize_list)
  File "/rds/general/user/jh622/home/anaconda3/envs/motifraptor_env/lib/python3.site-packages/MotifRaptor/SNPUtility/SNPfeatures.py", line 55, in SNPfeatures_ma
    feature_df=SNPExtractFeatureFromBigwig(featurefile,SNPbedfile)
  File "/rds/general/user/jh622/home/anaconda3/envs/motifraptor_env/lib/python3.site-packages/MotifRaptor/SNPUtility/SNPfeatures.py", line 19, in SNPExtractFeateFromBigwig
    vals = bw.values(cols0,cols1,cols2)[0]
SystemError: <built-in method values of pyBigWig.bigWigFile object at 0x14f4562ff0> returned a result with an error set

Thank you very much for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions