GETGENE(1)

πŸ’– GETGENE πŸ’–

okay bestie, so this is getgene.pl β€” the little script that grabs the dna for a gene using annotation. that's it, that's the whole vibe. you feed it a genome and some genes and it goes and fetches the actual sequence. iconic behavior honestly πŸ’…


✨ SYNOPSIS ✨

getgene.pl <genome> <gene1> [<gene2> ...]

so like, <genome> first, then at least one gene, and then you can keep adding genes after that if you want more. [<gene2> ...] β€” the brackets are doing that "optional but please do" thing 🫢


πŸŽ€ OPTIONS πŸŽ€

  • --rna β€” recodes everything to rna. so like, the output is rna now. slay 🌸
  • --outprefix=s β€” sends your output into a file named s.gene_i.fa. that s is whatever you passed as the prefix, and the default prefix is <genome>. so yeah, gene_i gets glued onto the front bit, i being the gene index numbering situation β€” anyway, output files, cute, very demure.
  • --outprefix=- β€” okay this one's the special little trick: set outprefix to - and the output goes to stdout instead of a file. yes bestie, the classic dash-for-stdout move πŸ’€
  • --echo β€” sends output directly to stdout without formatting. straight up raw, no decor, no nothing. just the goods. πŸ™ˆ
ngl the whole thing is three options long so you really have no excuse to not know them fr fr πŸ’–

🌈 SEE ALSO 🌈

there's literally nothing else listed here, bestie. it's just this script, alone in the world, doing its little dna-grabbing thing 🧚


so yeah! no cap, that's getgene.pl β€” grab genes, get dna, choose your output situation. this lil page is from perl v5.40.1, dated 2026-08-12, user-contributed perl documentation and all. drink water, back up your genomes, and go get those genes πŸ‘‘βœ¨πŸ“

πŸ“¦ where this page comes from