Hi James,
I've been working a little bit with this file so I can fill you in on some of the details, and Jared can probably add more.
The string graph file produced by "sga overlap" and "sga assemble" have the extension *.asqg.gz. You can decompress it into a plain text file with:
gunzip -c file.asqg.gz > file.asqg
You can view it with less or a text editor (although this file can be large).
The first line is a header line (beginning with HT)
Lines that begin with VT are vertex records and include the contig name and the sequence
Lines that begin with ED are edge records and include information about the overlap in 10 fields:
1. contig 1 name
2. contig 2 name
3. contig 1 overlap start (0 based)
4. contig 1 overlap end (inclusive)
5. contig 1 length
6. contig 2 overlap start (0 based)
7. contig 2 overlap end (inclusive)
8. contig 2 length
9. contig 2 is reverse (1 for reverse, 0 for forward)
10. number of differences in overlap (0 for perfect overlaps, which is the default).
Contig 1 is always in the forward direction. If contig 2 is reverse and if the overlap is perfect, then (in Python notation):
contig1[s1:e1+1] = rev_comp(contig2[s2:e2+1]),
where s1 ,e1 and s2, e2 are the starting and ending indices listed in the edge record.
Hopefully that helps! Also, you can draw overlaps from an asqg file using the "sga oview" command.
Best,
Lee