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

Issue while calculating moholanobish distance step #2

Open
UpalabdhaD opened this issue Jun 5, 2023 · 0 comments
Open

Issue while calculating moholanobish distance step #2

UpalabdhaD opened this issue Jun 5, 2023 · 0 comments

Comments

@UpalabdhaD
Copy link

i am running the pipeline, currently while operating on step 9 with example dataset provided got the following error.

  • OS: debian 12

  • python version: 2.7.18

  • script for step 09:

'{bash}

#!/bin/bash

main_dir="/home/upalabdha/Documents/02_work_collabs/KS/Prj_BatGenome/hcoErosions-master"

python generate_md_values.py
-reference hg38
-speciesList $main_dir/species.txt
-geneTranscriptIds $main_dir/ref_genes/hg38_clean.all.genes_id
'

  • command:

bash s09_moholanobishDistance.sh

  • Error:

135942
Traceback (most recent call last):
File "generate_md_values.py", line 129, in
d = get_species_md_dict (r, query, transcript_gene_dict)
File "generate_md_values.py", line 80, in get_species_md_dict
C_inv = np.linalg.inv(C)
File "/home/upalabdha/mambaforge/envs/hcoErosions_env/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 551, in inv
ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
File "/home/upalabdha/mambaforge/envs/hcoErosions_env/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 97, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix

  • overview:
    No output in md directory (empty)
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

No branches or pull requests

1 participant