Skip to content

Commit

Permalink
chore: comment pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 4, 2024
1 parent 7c8e7ee commit 1a88b80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/services/ingestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ func (i *IngestionService) ProcessVcf(
lineProcessingQueue := make(chan bool, lineProcessingConcurrencyLevel)

// pattern for contig headers
// - sectioning off the chr prefix strips it from the contig name prior to ingestion, more or less preserving
// previous Gohan behaviour (which did a find and replace.)
var contig_pattern = regexp.MustCompile(`##contig=<ID=(chr)?([a-zA-Z0-9_\-.]+)(,.*)?`)

for scanner.Scan() {
Expand Down

0 comments on commit 1a88b80

Please sign in to comment.