Skip to content

Commit

Permalink
add deduplication of sequences by ID in augur_from_assemblies (#564)
Browse files Browse the repository at this point in the history
add deduplication of sequences by ID in augur_from_assemblies, after filtering by length, prior to MSA via MAFFT.
  • Loading branch information
tomkinsc authored Nov 5, 2024
1 parent d655726 commit 8b7731c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pipes/WDL/workflows/augur_from_assemblies.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ workflow augur_from_assemblies {
sequences_fasta = zcat.combined,
min_non_N = min_unambig_genome
}
call nextstrain.nextstrain_deduplicate_sequences as dedup_seqs {
input:
sequences_fasta = filter_sequences_by_length.filtered_fasta
}
call nextstrain.mafft_one_chr as mafft {
input:
sequences = filter_sequences_by_length.filtered_fasta,
sequences = dedup_seqs.sequences_deduplicated_fasta,
ref_fasta = ref_fasta,
basename = "all_samples_aligned.fasta"
}
Expand Down

0 comments on commit 8b7731c

Please sign in to comment.