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

Input graph format problem #1

Open
shenperson opened this issue Aug 4, 2022 · 3 comments
Open

Input graph format problem #1

shenperson opened this issue Aug 4, 2022 · 3 comments

Comments

@shenperson
Copy link

I have one question about this project.
What kind of input graph format is used in HGA?
I've tried using the vg format, but got no result after executing this program.

@abanerjee10
Copy link

I am experiencing a the same issue. What input formats does the program require to output alignments?

@unisolate
Copy link
Member

HGA accepts fasta reads and a custom graph format as input: The first line contains two integers v and e, which are the number of vertices and edges in the graph. The second line contains e integers, which is the list of in-neighbors. The third line contains v+1 integers, which are the offsets for the in-neighbor list. The forth and fifth lines are the edge list and offsets for out-neighbors. The sixth line contains v characters, which are the labels for each vertex.

Example graph input:
5 5
0 1 0 2 3
0 0 1 2 4 5
1 3 2 3 4
0 2 3 4 5 5
ATGAC

@Mirkocoggi
Copy link

Is there a tool for converting a .gfa or .vg graph file in your custom format?

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

4 participants