Skip to content

Fasta input support - #10

Merged
mzueva merged 7 commits into
mainfrom
mzueva/MILAB-7357-fasta-support
Nov 17, 2026
Merged

mzueva merged 7 commits into
mainfrom
mzueva/MILAB-7357-fasta-support

Conversation

@mzueva

@mzueva mzueva commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

MILAB-7357

Accept FASTA and FASTQ input, beside Sanger traces:

  • FASTA, nucleotide and amino acid. An amino-acid set is numbered as protein, carries no germline, and collapses clones on the amino-acid sequence.
  • FASTQ, nucleotide (one read per clone), trimmed by the quality floor.
  • Each form reads either per-well files or one combined file, with identity taken from the file path or the record header.
  • Gzipped input files are read directly.

RetriggerView in GreptileConfidence Score: 5/5

The changes since the previous review appear safe to merge.

Summary

Adds FASTA and FASTQ input alongside Sanger traces, with shared numbering, pairing, and clone exports.

  • Scientists can choose a reader for traces, FASTA, or FASTQ.
  • Combined-file records can use their headers as clone identities.
  • Amino-acid FASTA results group clones by their protein sequences.

Important touched types:

  • InputForm: selects the reader; adds nucleotide FASTA, amino-acid FASTA, and nucleotide FASTQ.
  • BlockParams: holds run settings; gains optional form.
  • FastaHeader: new record reference containing its file, index, and header.
  • BlockData: saved block state; gains fileShape and fastaHeaders.
  • PathGroups<T>: fields captured by a pattern; makes well optional and adds name.
  • TraceRead: details about one read; makes meanQuality optional for input without quality scores.
  • Clone: grouped input records; gains an optional key for matching properties.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Selected files] --> B{Input form}
  B -->|Sanger| C[Read and merge traces]
  B -->|Nucleotide FASTA| D[Read nucleotide]
  B -->|FASTQ| E[Read and trim by quality]
  B -->|Protein FASTA| F[Read protein]
  C --> G[Number protein and align nucleotide]
  D --> G
  E --> G
  F --> H[Number protein only]
  G --> I[Pair and collapse clones]
  H --> I
  I --> J[Tables and exports]
Loading

Reviews (2) · Last reviewed commit: "MILAB-7357 Review fixes" · Reviewed by Greptile

@mzueva
mzueva force-pushed the mzueva/MILAB-7357-fasta-support branch from 3b8a1f7 to 2721e3b Compare November 16, 2026 15:50
@mzueva

mzueva commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@greptile-apps review

Comment thread ui/src/ImportDialog.vue Resolved
Comment thread model/src/index.ts Resolved
Comment thread workflow/src/main.tpl.tengo Resolved
Comment thread ui/src/FilesTable.vue Resolved
Comment thread software/src/read_fasta.py Resolved
Comment thread model/src/index.ts Resolved
Comment thread software/src/read_fasta.py Resolved
Comment thread model/src/path_pattern.ts Resolved
@mzueva

mzueva commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@greptile-apps review

@greptile-apps

greptile-apps Bot commented Nov 16, 2026

Copy link
Copy Markdown

Want your agent to iterate on Greptile's feedback? Start a greploop in Claude Code and it will work through the open comments and keep going until this PR reviews clean.

@mzueva
mzueva requested a review from erohinaelena November 17, 2026 12:40
@greptile-apps

greptile-apps Bot commented Nov 17, 2026

Copy link
Copy Markdown

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

@mzueva
mzueva added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 9840b33 Nov 17, 2026
11 checks passed
@mzueva
mzueva deleted the mzueva/MILAB-7357-fasta-support branch November 17, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant