Skip to content

Commit

Permalink
collapse annotation helper types (#406)
Browse files Browse the repository at this point in the history
Collapses the three intermediate annotation types into a single Alignment struct.
  • Loading branch information
macklin-10x authored Apr 17, 2024
1 parent 548f871 commit d8eeecc
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 237 deletions.
3 changes: 1 addition & 2 deletions enclone_args/src/read_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ fn process_json_annotation(
// Reannotate.
if reannotate || ctl.gen_opt.reprod {
let x = DnaString::from_dna_string(&ann.sequence);
let mut ann1 = Vec::<Annotation>::new();
annotate_seq(&x, refdata, &mut ann1, true, false, true);
let mut ann1 = annotate_seq(&x, refdata, true, false, true);

// If there are multiple V segment alignments, possibly reduce to just one.

Expand Down
Loading

0 comments on commit d8eeecc

Please sign in to comment.