find SPAdes contig names
I'm using Bandage v0.8.1 with the file assembly_graph_with_scaffolds.gfa (formerly assembly_graph.gfa) produded by SPAdes (don't know when this file was introduced).
At the end of the file, the names of the contigs are listed in conjuction with the node numbers:
P NODE_12_length_48543_cov_29.129936_1 2247097+,602318+,2267759+,2267751- *
P NODE_13_length_44834_cov_76.398234_1 2268031+ *
Unfortunately, I can search only for the node numbers (i. e. 2268031) but not for the node name (i. e. NODE_13_). It is a bit hard to match the graph with the assembly.
It would be great, if node names are searchable and can be shown on the graph, but only the prefix till length.
As an intermediate solution, I've created a CSV file for it.
Yes! Being able to view the node name would be very useful!
I'm using Bandage v0.8.1 with the file
assembly_graph_with_scaffolds.gfa(formerlyassembly_graph.gfa) produded by SPAdes (don't know when this file was introduced).At the end of the file, the names of the contigs are listed in conjuction with the node numbers:
P NODE_12_length_48543_cov_29.129936_1 2247097+,602318+,2267759+,2267751- * P NODE_13_length_44834_cov_76.398234_1 2268031+ *Unfortunately, I can search only for the node numbers (i. e.
2268031) but not for the node name (i. e.NODE_13_). It is a bit hard to match the graph with the assembly.It would be great, if node names are searchable and can be shown on the graph, but only the prefix till length.
As an intermediate solution, I've created a CSV file for it.
How did you obtain the information of contigs and corresponding node number? Thanks!