chung-lab / SCAFE

Single Cell Analysis of Five'Ends
MIT License
43 stars 11 forks source link

failed at running scafe.tool.sc.bam_to_ctss #28

Closed weitaiwu closed 9 months ago

weitaiwu commented 9 months ago

Hello, thank you for developing this tool. I met a problem when i use it. there is my script: scafe.tool.sc.bam_to_ctss \ --min_MAPQ 10 \ --exclude_flag '128,4' \ --overwrite=yes \ --bamPath=./possorted_genome_bam.bam \ --genome=mm10.gencode_vM25 \ --outputPrefix=06_vm25_test \ --outDir=./06_vm25_test/output/sc.solo/bam_to_ctss/

there is output : [2023-12-18 13:07] Checking all SCAFE executables
[2023-12-18 13:07] Checking: tabix version: 1.9 [2023-12-18 13:07] Checking: bgzip version: 1.9 [2023-12-18 13:07] Checking: bedtools version: 2.30.0 [2023-12-18 13:07] Checking: samtools version: Version: 1.3.1 [2023-12-18 13:07] Checking: paraclu found. [2023-12-18 13:07] Checking: paraclu-cut found. [2023-12-18 13:07] Checking: bedGraphToBigWig version: 2.8 [2023-12-18 13:07] Checking: bigWigAverageOverBed version: 2 [2023-12-18 13:07] Checking TSO presence in bam
[2023-12-18 13:07] Determining subsampe fraction
Illegal division by zero at /SCAFE/scripts/scafe.tool.sc.bam_to_ctss line 1406.

I see here are some similar questions, but no answer. How can i solve it?