Find open reading frames (ORFs) in DNA sequences.
ORF Finder identifies all possible open reading frames in a given DNA sequence by scanning for start codons (ATG) and stop codons (TAA, TAG, TGA) across all six reading frames. It outputs the position, length, and translated protein sequence for each ORF found.
git clone https://github.com/wl5e/orf-finder.git
cd orf-finder
pip install -r requirements.txtpython orf_finder.py --sequence ATGAAATTTTAACCCGGGpython orf_finder.py --file input.fastapython orf_finder.py --file input.fasta --min-length 100python orf_finder.py --file input.fasta --output results.tsvTab-separated columns:
- Frame: reading frame (+1, +2, +3, -1, -2, -3)
- Start: start position (1-based)
- End: end position (1-based)
- Length: length in nucleotides
- Protein: translated amino acid sequence
pytest test_orf_finder.py -vMIT