KChen-lab / Monopogen

SNV calling from single cell sequencing
GNU General Public License v3.0
68 stars 16 forks source link

About Error for the cellScan step during Somatic Variant Calling #25

Closed neuroniko closed 6 months ago

neuroniko commented 9 months ago

Dear Monopogen developers, I'd like to express my gratitude for developing Monopogen. It has been invaluable for my research. I've encountered an issue and was hoping to seek your guidance on it. When I doing the cellScan step in Somatic Variant Calling, I got an error: with Monopogen.py Get single cell level information from sequencing data...['chr17']['chr17.filter.targeted.bam'] merge: invalid option -- 'o' I checked the code in Monopogen.py file, it uses pysam.merge("-f","-o",output_bam,bamlst), this error seems due to pysam version difference. I changed the code into pysam.merge("-f", output_bam, bamlst), and it works. However, I created the environment exactly as yours(pysam=0.16.0.1), I don't know If it will change the output. If not, I hope this could help others who encounter this issue.

neuroniko commented 9 months ago

After I update Pysam to 0.21, it also works.

jinzhuangdou commented 6 months ago

Thanks for letting me know.