Closed ETC100 closed 1 year ago
Thanks for sharing the data to reproduce. This seems to be happening in GFAffix, which cactus-graphmap-join
uses to normalize the graph. I will patch Cactus via a new GFAffix version once that issue is fixed.
You can turn off gfaffix normalization with
sed src/cactus/cactus_progressive_config.xml -e "s/gfaffix=\"1\"/gfaffix=\"0\"/g" > config.xml
then running cactus-graphmap-join
with the --configFile config.xml
option.
This should fix your crash right now, but the gfaffix normalization is usually pretty important because it removes lots of duplicated sequence from the graph...
Thanks for your help. I have solved this problem according to your suggestion. The graph genome constructed without normalization is just a little bigger than normalized one.
Fixed the bug in GFAffix--let me know in case any further issues pop up.
Hello, I tried to construct graph pangenome with cactus version 2.4.3 and complete the cactus-minigraph, cactus-graphmap, cactus-graphmap-split, cactus-align-batch steps. However, when I ran cactus-graphmap-join step with command cactus-graphmap-join ./jobstore --vg graph_chroms1/alignments/.vg --hal graph_chroms1/alignments/.hal --outDir ./Result --outName Last_graph --reference REF --vcf --giraffe clip", It cause an error as followed. "NC_006096.5" means "Chr9" chromosome, so it seems that error only occured in Chr9. The related file you might need: https://drive.google.com/file/d/1-90qWGcrvPyvx4h-8rlpllFk7PwQLORy/view?usp=share_link
Error
<=========