Skip to content

cm.pkl not found in extract step #17

@Sanrrone

Description

@Sanrrone

Dears,
I am running the software using my own database. It was succefully created and mapped using the coptr index and coptr map steps.
however, the extract step is asking for a pkl which I don't know where I can get it.

error log:

[INFO] [Mar 13, 2024 12:33:45] [coptr.bam_processor] Processing HeP-1003_6_months_bams/HeP-1003-4.bam.
[INFO] [Mar 13, 2024 12:52:02] [coptr.bam_processor] Determining reference genomes.
[INFO] [Mar 13, 2024 12:54:28] [coptr.bam_processor] Collecting multi-mapped reads.
[INFO] [Mar 13, 2024 13:00:58] [coptr.bam_processor] Grouping reads by reference genome.
Traceback (most recent call last):
  File "/scratch/project_2007362/software/mambaforge/envs/coptr/bin/coptr", line 8, in <module>
    sys.exit(cli())
  File "/scratch/project_2007362/software/mambaforge/envs/coptr/lib/python3.7/site-packages/coptr/cli.py", line 576, in cli
    ProgramOptions()
  File "/scratch/project_2007362/software/mambaforge/envs/coptr/lib/python3.7/site-packages/coptr/cli.py", line 70, in __init__
    getattr(self, args.command)()
  File "/scratch/project_2007362/software/mambaforge/envs/coptr/lib/python3.7/site-packages/coptr/cli.py", line 242, in extract
    os.path.join(args.out_folder, get_fastq_name(f) + ".cm.pkl"), "wb"
FileNotFoundError: [Errno 2] No such file or directory: 'HeP-1003_6_months_coverage-maps/HeP-1003-4.cm.pkl'

How can I generate the file for the extract step?.

thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions