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

correct_links: Aborted #165

Open
guo-cheng opened this issue Jul 11, 2022 · 1 comment
Open

correct_links: Aborted #165

guo-cheng opened this issue Jul 11, 2022 · 1 comment

Comments

@guo-cheng
Copy link

Hi,
I am running SALSA on a GFA created by Hifiasm, but it crashed.

My command line:
~/miniconda3/envs/py2.7/bin/python /public1/home/ligch/software/SALSA/run_pipeline.py -a /public1/home/ligch/Harm_Hass_genome/Harm/03_HiC_assembly/reference/Harm.primary.asm.p_ctg.fa -l /public1/home/ligch/Harm_Hass_genome/Harm/03_HiC_assembly/reference/Harm.primary.asm.p_ctg.fa.fai -b Harm.primary.alignment.sorted.bed -e GATC -o Harm.primary.scaffold -m yes -p yes -g /public1/home/ligch/Harm_Hass_genome/Harm/03_HiC_assembly/reference/Harm.primary.asm.p_ctg.gfa

The Log file:
bedfile loaded
Starting Iteration 1
bedfile started
bedfile loaded
Done loading GFA file
Number of Nodes = 116
Number of Edges = 40
correct_links: /usr/include/boost/graph/two_bit_color_map.hpp:86: void boost::put(const boost::two_bit_color_map&, typename boost::property_traits::key_type, boost::two_bit_color_type) [with IndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t, std::basic_string >, long unsigned int>; typename boost::property_traits::key_type = long unsigned int]: Assertion `(std::size_t)i < pm.n' failed.
/bin/sh: line 1: 66103 Aborted (core dumped) /public1/home/ligch/software/SALSA/correct_links -g /public1/home/ligch/Harm_Hass_genome/Harm/03_HiC_assembly/reference/Harm.primary.asm.p_ctg.gfa -l Harm.primary.scaffold/contig_links_scaled_sorted_iteration_1 > Harm.primary.scaffold/tmp.links

@skoren
Copy link
Member

skoren commented Jul 11, 2022

We've never tested with the gfa from hifiasm so it may be some incompatibility. In general, the contig gfa isn't that useful for scaffolding information since most connectivity is removed so I wouldn't bother including it, I doubt it would make any difference.

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

2 participants