Skip to content

ZeroDivisionError in st_pipeline #136

@jocelynnijin

Description

@jocelynnijin

Hi! Thank you so much for building this tool!

I am trying to run the following:
st_pipeline_run
--output-folder $OUTPUT_DIR
--ids $WHITE_LIST
--ref-map $GENOME_DIR
--ref-annotation $GTF_FILE
--expName $SAMPLE
--verbose
--log-file $OUTPUT_DIR/${SAMPLE}_log.txt
--demultiplexing-kmer 5
--temp-folder $TMP_ST
--no-clean-up
--umi-start-position 16
--umi-end-position 26
--demultiplexing-overhang 0
--min-length-qual-trimming 18 \

However, I kept encountering the following error message:

"ST Pipeline, parameters loaded
ST Pipeline, logger created
ST Pipeline, sanity check passed. Starting the run...
Error running the pipeline
Processing records: 0record [00:00, ?record/s]
Traceback (most recent call last):
File "/home/nij2/miniconda3/envs/stpipeline/bin/taggd_demultiplex", line 8, in
sys.exit(main())
File "/home/nij2/miniconda3/envs/stpipeline/lib/python3.10/site-packages/scripts/taggd_demultiplex.py", line 447, in main
print(str(demux.stats))
File "/home/nij2/miniconda3/envs/stpipeline/lib/python3.10/site-packages/taggd/core/statistics.py", line 40, in str
f"# Matches: {mat} [{mat * 100.0 / self.total_reads:.2f}%]\n"
ZeroDivisionError: float division by zero
"

My input files should be right. Please let me know if there’s anything I might be overlooking, thank you in advance for the help and support!!

Sincerely,
Jocelyn

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