BP_PROCESS_GADFLY(1p)
π 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 armComponent:scaffoldβ A chromosome scaffold (accession #)Component:gapβ A gap in the assemblyclone:clonelocatorβ A BAC clonegene:gadflyβ A gene accession numbertranscript:gadflyβ A transcript accession numbertranslation:gadflyβ A translationcodon:gadflyβ Significance unknownexon:gadflyβ An exonsymbol:gadflyβ A classical gene symbolsimilarity:blastnβ A BLASTN hitsimilarity:blastxβ A BLASTX hitsimilarity:sim4β EST->genome using SIM4similarity:groupestβ EST->genome using GROUPESTsimilarity: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
- debian bookworm: bioperl 1.7.8-1 Β· Perl
- debian trixie: bioperl 1.7.8-1 Β· Perl
- ubuntu jammy: bioperl 1.7.8-1 Β· Perl
- ubuntu noble: bioperl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms