projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df9f3a
)
Fix chr pos after chr1.
author
Tom Clegg <tom@tomclegg.ca>
Thu, 22 Oct 2020 03:43:08 +0000
(23:43 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Thu, 22 Oct 2020 03:43:08 +0000
(23:43 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
export.go
patch
|
blob
|
history
diff --git
a/export.go
b/export.go
index 2c51ff3eb915515b9fdd74cec837ead1cc17c611..7d3e2ec11c58954a16d66a556138b327bcbb5568 100644
(file)
--- a/
export.go
+++ b/
export.go
@@
-271,8
+271,8
@@
func (cmd *exporter) export(out, bedout io.Writer, librdr io.Reader, taglen int,
return fmt.Errorf("%d needed tiles are missing from library", len(missing))
}
- refpos := 0
for _, seqname := range seqnames {
+ refpos := 0
variantAt := map[int][]hgvs.Variant{} // variantAt[chromOffset][genomeIndex*2+phase]
for refstep, libref := range refseq[seqname] {
reftile := tileVariant[libref]