Skip to content

Commit

Permalink
tweak vcf feature output
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Mar 7, 2013
1 parent 330d555 commit aac0a23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/JBrowse/Store/SeqFeature/VCFTabix.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ return declare( [SeqFeatureStore,DeferredStatsMixin,DeferredFeaturesMixin,Global
start: line.start-1,
end: line.start-1+ref.length,
seq_id: line.ref,
note: ref+" -> "+alt,
description: SO_type+": "+ref+" -> "+alt,
name: fields[2],
type: SO_type,
ref: ref,
alt: alt,
qual: fields[5],
alternative_alleles: alt,
score: fields[5],
filter: fields[6],
info: fields[7],
format: fields[8],
Expand Down Expand Up @@ -175,7 +175,7 @@ return declare( [SeqFeatureStore,DeferredStatsMixin,DeferredFeaturesMixin,Global
});

if( ref.length == 1 && minAltLen == 1 && maxAltLen == 1 )
return 'SNV'; // use SNV because definition of SNP is
return 'SNV'; // use SNV because SO definition of SNP says
// abundance must be at least 1% in
// population, and can't be sure we meet
// that
Expand Down

0 comments on commit aac0a23

Please sign in to comment.