How mher1369/mini_project_bfp works
BioForge is a command-line DNA-to-protein analysis pipeline. A user supplies a FASTA file and filtering thresholds; the application parses records, detects ORFs on both strands, translates them, filters proteins by length and molecular weight, and writes a report. The graph also shows sequence utilities, translation data, and shared logging/error support. Translation internals and their data-file loading are represented from the tree and main’s references, but their implementation was not sampled.
Main entry points: main.py Pipeline runner · errors.py Domain errors · protein_filters.py Protein filters · fasta.py FASTA parsing
Components 13
Pipeline workflow
- Pipeline runner
main.py - Protein filters
Filters/protein_filters.py
Sequence analysis
- FASTA parsing
Fasta/fasta.py - Sequence utilities
Fasta/fasta.py - Forward ORFs
ORF/forward_strand.py - Reverse ORFs
ORF/reverse_strand.py - ORF model
ORF/ORF.py - Protein translation
Translation/protein_translation.py
Shared support
- Logging setup
Error_and_Logging/logger_config.py - Domain errors
Error_and_Logging/errors.py
Results and data
- Translation tables
BioForge/data - Analysis report
Output/report.txt
Other components
- User
Connections 16
- User → Pipeline runner: provides inputs
main.py - Pipeline runner → Logging setup: configures logging
main.py - Pipeline runner → FASTA parsing: parses records
main.py - Pipeline runner → Sequence utilities: prepares sequences
main.py - Pipeline runner → Forward ORFs: detects forward
main.py - Pipeline runner → Reverse ORFs: detects reverse
main.py - Forward ORFs → ORF model: creates ORFs
ORF/forward_strand.py - Reverse ORFs → ORF model: creates ORFs
ORF/reverse_strand.py - Pipeline runner → Protein translation: translates ORFs
main.py - Pipeline runner → Translation tables: loads tables
- Protein translation → Translation tables: uses tables
- Pipeline runner → Protein filters: filters proteins
main.py - Pipeline runner → Analysis report: writes report
main.py - Pipeline runner → Domain errors: handles exceptions
main.py - FASTA parsing → Domain errors: raises validation errors
Fasta/fasta.py - Protein filters → Domain errors: raises data errors
Filters/protein_filters.py