diriano / ploidyNGS

Explore ploidy levels from NGS data alone
GNU General Public License v3.0
38 stars 14 forks source link

Error in in ploidyNGS.py #13

Closed sywilliam closed 2 years ago

sywilliam commented 3 years ago

When I test ploidyNGS use the file you provided, I'm getting the following error:

Traceback (most recent call last):
  File "./ploidyNGS.py", line 90, in <module>
    for l in pysam.idxstats(args.bam).split('\n'):
AttributeError: 'list' object has no attribute 'split'

Though I get these two files, there is no histogram in the pdf file. diploidTest_depth100.tab diploidTest_depth100.tab.PloidyNGS.pdf