Skip to content

Commit

Permalink
Make mate ends 0-based in beacon
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed May 22, 2019
1 parent e19cb37 commit 91fed50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/beacon_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CREATE OR REPLACE VIEW beacon.beacon_mate_table AS
dm.allele_count as alleleCount,
dm.allele_num as callCount,
dm.allele_freq as frequency,
dm.mate_start as "end",
dm.mate_start - 1 as "end",
'BND' as variantType
FROM data.mate AS dm
JOIN beacon.available_datasets as av
Expand Down

0 comments on commit 91fed50

Please sign in to comment.