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

Fastg node ids vs contig ids #258

Open
snurk opened this issue Jan 10, 2020 · 1 comment
Open

Fastg node ids vs contig ids #258

snurk opened this issue Jan 10, 2020 · 1 comment

Comments

@snurk
Copy link

snurk commented Jan 10, 2020

Dear @voutcn,
After converting the contigs from the final value of k to FastG graph format I was going to match the resulting nodes to original contigs.
Unfortunately it seems that neither of the numbers given in the fastg node name (NODE_<#1>...ID<#2>) matches the corresponding contig id in final.contigs.fasta (though I can find corresponding contig by its length).
Will it be possible to make the ids match or at least provide a file with the mapping from the megahit_core contig2fastg command?
Sorry if this request has been made before.

Best,
Sergey

@voutcn
Copy link
Owner

voutcn commented Feb 24, 2020

It is doable but I do not plan to upgrade the package recently because I can only put some of my spare time to maintain this package. Will revisit this issue in the future.

Meanwhile, feel free to modify https://github.com/voutcn/megahit/blob/master/src/tools/contigs_to_fastg.cpp. PR's are always welcomed.

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