Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : Fetching mapping and pairing stats #82

Closed
nmendiboure opened this issue May 16, 2024 · 0 comments · Fixed by #83
Closed

Error : Fetching mapping and pairing stats #82

nmendiboure opened this issue May 16, 2024 · 0 comments · Fixed by #83

Comments

@nmendiboure
Copy link

nmendiboure commented May 16, 2024

Hi,

I got this error related to stats.py module when I run hicstuff full pipeline.

command :

hicstuff pipeline -m cutsite -t 12 -e DpnII,HinfI -q 20 -g <mygenome.fa> -n -p -o . -d -f -D -F <end1.fastq.gz> <end2.fastq.gz> --matfmt=graal

output :

INFO :: Fetching mapping and pairing stats
Traceback (most recent call last):
  File "~/miniforge3/envs/hicstuff/bin/hicstuff", line 8, in <module>
    sys.exit(main())
  File "~/miniforge3/envs/hicstuff/lib/python3.10/site-packages/hicstuff/main.py", line 57, in main
    command.execute()
  File "~/miniforge3/envs/hicstuff/lib/python3.10/site-packages/hicstuff/commands.py", line 891, in execute
    hpi.full_pipeline(
  File "~/miniforge3/envs/hicstuff/lib/python3.10/site-packages/hicstuff/pipeline.py", line 1145, in full_pipeline
    stats = hcs.get_pipeline_stats(log_file)
  File "~/miniforge3/envs/hicstuff/lib/python3.10/site-packages/hicstuff/stats.py", line 50, in get_pipeline_stats
    tot_mapped = int(float(tot_mapped))
ValueError: could not convert string to float: '2024-05-15,18:45:41 :: INFO :: 87% reads (single ends) mapped with Q >= 20 (13832129'

Versions used :

  • hicstuff : 3.2.3
  • pairtools : 1.1.0

Thanks in advance for your help.

EDIT : I made a pull request

@cmdoret cmdoret linked a pull request May 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant