Open briannadon opened 2 years ago
As an aside, any hints as to what these edge tables actually represent and how they're calculated would be greatly appreciated. Are they simply raw counts of how many reads aligned along each edge in my graph?
Hate to be a bother but the issue has come up again for me and i'm curious if anyone could offer any insight into how the packed coverages are calculated and what they mean.
The coverages should be identical whether you are using GAM or GAF. Also, they seem suspiciously high. Is it possible for you to share the data to reproduce?
They are high coverage because the sequencing is a result of targeted hybrid-capture sequencing of an HLA locus. We expect very high coverage for this data. I'll ask about sharing data.
@briannadon
Hi, I also want to convert GAM to GAF, what's the full command of the conversion. I tried vg convert -G **.gam > **.gaf
, but it failed.
Thanks!
@jiadong324 vg convert graph.vg -G alignment.gam > alignment.gaf
@glennhickey Thanks!
1. What were you trying to do? Get (and understand!) a packed coverage table from an alignment generated with GraphAligner against my variation graph.
I have a set of reads from a locus aligned to a graph of variation at that locus. After aligning, I am converting the GAM to GAF format with
vg convert -G
to manually inspect the alignments. I am using the GAM to create a packed edge coverage table withvg pack -D
. However, I tried making a packed edge coverage table from the GAF withvg pack -a
as well afterwards, and noticed the coverages were very different.2. What did you want to happen? Identical output.
3. What actually happened? Here is a
diff
of the files' heads. I have cut out the 2nd and 4th columns as they are not informative in my case (GAF edge table on left, GAM on the right):4. If you got a line like
Stack trace path: /somewhere/on/your/computer/stacktrace.txt
, please copy-paste the contents of that file here: N/A5. What data and command can the vg dev team use to make the problem happen? I cannot share data, but I am sure this is relatively easy to recreate by trying to pack a GAM, converting to GAF, and then packing again.
6. What does running
vg version
say?