BP_PROCESS_GADFLY(1p)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– BP_PROCESS_GADFLY(1p) πŸ’–

okay bestie, welcome to the bp_process_gadfly.pl page from the User Contributed Perl Documentation ✨ grab a boba, we're doing fly genetics 🌸


πŸ¦‹ NAME πŸ¦‹

bp_process_gadfly.pl β€” it massages your Gadfly/FlyBase GFF files into a version that's actually suitable for the Generic Genome Browser πŸ’…


✨ SYNOPSIS ✨

% bp_process_gadfly.pl ./RELEASE2 > gadfly.gff

periodt, that's the whole vibe πŸ”₯


🌈 DESCRIPTION 🌈

So basically? This script massages the RELEASE 3 Flybase/Gadfly GFF files β€” the ones living at http://www.fruitfly.org/sequence/release3download.shtml β€” into the "correct" version of the GFF format. like, it takes the messy version and makes it slay ✨

To use this script, download the whole genome FASTA file and save it to disk. ngl the downloaded file is gonna be called something like na_whole-genome_genomic_dmel_RELEASE3.FASTA, but the link on the HTML page doesn't give you the filename, so like, don't panic, that's normal 😭

Do the same for the whole genome GFF annotation file β€” the saved file will be called something like whole-genome_annotation-feature-region_dmel_RELEASE3.GFF. And if you wish, you can download the ZIP compressed versions of these files too. no pressure, live your truth 🫢

Next, run this script on the two files, indicating the name of the downloaded FASTA file first, followed by the gff file:

% bp_process_gadfly.pl na_whole-genome_genomic_dmel_RELEASE3.FASTA whole-genome_annotation-feature-region_dmel_RELEASE3.GFF > fly.gff

(yeah, FASTA first. order matters bestie, don't fight it πŸ’…)

The gadfly.gff file and the fasta file can now be loaded into a Bio::DB::GFF database using the following command:

% bulk_load_gff.pl -d fly -fasta na_whole-genome_genomic_dmel_RELEASE3.FASTA fly.gff

(Where "fly" is the name of the database. Change it as appropriate. The database must already exist and be writable by you! like, it literally cannot load if you don't own it, sorry not sorry πŸ™ˆ)

The resulting database will have the following feature types, represented as "method:source" β€” iconic format, we love to see it:

  • Component:arm β€” A chromosome arm
  • Component:scaffold β€” A chromosome scaffold (accession #)
  • Component:gap β€” A gap in the assembly
  • clone:clonelocator β€” A BAC clone
  • gene:gadfly β€” A gene accession number
  • transcript:gadfly β€” A transcript accession number
  • translation:gadfly β€” A translation
  • codon:gadfly β€” Significance unknown
  • exon:gadfly β€” An exon
  • symbol:gadfly β€” A classical gene symbol
  • similarity:blastn β€” A BLASTN hit
  • similarity:blastx β€” A BLASTX hit
  • similarity:sim4 β€” EST->genome using SIM4
  • similarity:groupest β€” EST->genome using GROUPEST
  • similarity:repeatmasker β€” A repeat
⚠️ IMPORTANT NOTE: This script will *only* work with the RELEASE3 gadfly files and will not work with earlier releases. like, it's giving one-release-only main character energy, no cap πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

Bio::DB::GFF, bulk_load_gff.pl, load_gff.pl β€” go read those next bestie, they're the supporting cast 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Lincoln Stein, lstein@cshl.org

Copyright (c) 2002 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty. (fr fr, read the disclaimer, it's the fine print and it ate πŸ’…)


and that's the whole page bestie!! πŸ’–βœ¨

this was perl v5.32.1, dated 2021-08-15, filed under BP_PROCESS_GADFLY(1p) πŸŒΈπŸ¦‹ mwah, go process some flies 🫢

πŸ“¦ where this page comes from