message: don't filter sequences without clade
diff: @@ -35,6 +35,7 @@ export interface AnalyzeSeqResult {
  alnStart: number
  alnEnd: number
  alignmentScore: number
  + alignedQuery: string
  }
  export interface AnalysisResult extends Readonly<AnalyzeSeqResult> {
  @@ -52,13 +53,12 @@ export interface AlgorithmResult {
  export async function run({ input, rootSeq }: AlgorithmParams): Promise<AlgorithmResult> {
  const parsedSequences = parseSequences(input)
  - const result = Object.entries(parsedSequences)
  - .map(([seqName, seq]) => {
  - const { mutations, insertions, deletions, alnStart, alnEnd, alignmentScore } = analyzeSeq(seq, rootSeq)
  + const result = Object.entries(parsedSequences).map(([seqName, seq]) => {
  + const { mutations, insertions, deletions, alnStart, alnEnd, alignmentScore, alignedQuery } = analyzeSeq(seq, rootSeq)
  const clades = pickBy(CLADES, (clade) => isSequenceInClade(clade, mutations, rootSeq))
  - const invalid = findCharacterRanges(seq, 'N-')
  + const invalid = findCharacterRanges(alignedQuery, 'N')
  const aminoacidSubstitutions = getAllAminoAcidChanges(mutations, rootSeq, geneMap)
  @@ -78,7 +78,6 @@ export async function run({ input, rootSeq }: AlgorithmParams): Promise<Algorith
  diagnostics,
  }
  })
  - .filter(({ clades }) => Object.keys(clades).length !== 0)
  return { result }
  }
  