Skip to content

Commit

Permalink
for for insertion rendering in Gingr
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ondov committed Sep 30, 2016
1 parent 748759a commit ce55be5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/harvest/VariantList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,14 @@ void VariantList::addVariantsFromAlignment(const vector<string> & seqs, const Re

if ( referenceList.getReferenceCount() )
{
varNew->reference = referenceList.getReference(sequence).sequence[position];
if ( offset > 0 )
{
varNew->reference = '-';
}
else
{
varNew->reference = referenceList.getReference(sequence).sequence[position];
}
}
else
{
Expand Down

0 comments on commit ce55be5

Please sign in to comment.