Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Error 'couldn't finish sparsification2522' at postprocessing step (hinge clip) #111

Open
agroppi opened this issue May 3, 2017 · 3 comments

Comments

@agroppi
Copy link

agroppi commented May 3, 2017

Run postprocessing:' Wed May 3 10:30:08 CEST 2017
Run postprocessing: Wed May 3 10:30:08 CEST 2017
+ /home/ag/HINGE/inst/bin/hinge clip Stella.edges.hinges Stella.hinge.list hinge_3kb
0 bad coverage reads.
0 bad self aligned reads.
couldn't finish sparsification2522
couldn't finish sparsification2522

Thanks

@ilanshom
Copy link
Collaborator

ilanshom commented May 3, 2017

Typically couldn't finish sparsification isn't really an error. When we output the graphml files, we try to sparsify the graph so that it is smaller and easier to interpret. But sometimes, if the graph is too complicated our heuristic may not work, so we output that message.

But in principle this should not affect the rest of the pipeline.

@agroppi
Copy link
Author

agroppi commented May 9, 2017

Hi,
Actually it does affects the rest of the pipeline.
Next step :

hinge draft-path $SLURM_SUBMIT_DIR Stella Stellahinge_3kb.G2.graphml
hinge draft --db Stella --las Stella --prefix Stella --config /home/ag/HINGE/utils/nominal.ini --out Stella.draft
'get draft assembly :' Wed May 3 13:10:29 CEST 2017
get draft assembly : Wed May 3 13:10:29 CEST 2017
+ /home/ag/HINGE/inst/bin/hinge draft-path /gpfs/scratch/ag/sWAGMAN/HINGE_Stella_fasta_3kb Stella Stellahinge_3kb.G2.graphml
Traceback (most recent call last):
  File "/home/ag/HINGE/inst/bin/../lib/hinge/get_draft_path.py", line 74, in <module>
    stdout=subprocess.PIPE,bufsize=1)
  File "/module/apps/python/2.7.12/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/module/apps/python/2.7.12/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I have :

Stellahinge_3kb.G00.graphml  Stellahinge_3kb.G1.graphml   Stellahinge_3kb.G2.graphml   Stellahinge_3kb.Gc.graphml
Stellahinge_3kb.G0.graphml   Stellahinge_3kb.G2c.graphml  Stellahinge_3kb.G2s.graphml  Stellahinge_3kb.Gs.graphml

@fxia22
Copy link
Collaborator

fxia22 commented May 10, 2017

It looks like you don't have directory of DBshow in your PATH environment. You can try call DBShow from shell to verify. You can use utils/setup.sh to set up the environment properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants