GMOD_EX...ROM_GFF(1p)
πΈ GMOD_EXTRACT_DBXREF_FROM_GFF(1p) β the girlies' guide πΈ
okay so bestie, this is a User Contributed Perl Documentation page, section 1p of the manual, and it's literally about one tiny little script that does one tiny little thing and does it flawlessly. no notes. π
β¨ NAME β¨
gmod_extract_dbxref_from_gff.pl β extracts Dbxrefs from GFF3 lines that have Target attributes. that's it. that's the whole job. she's a specialist and she ate. π
π¦ SYNOPSIS π¦
% gmod_extract_dbxref_from_gff.pl gff_file_name > output_file
so you hand her a gff file, she yells the results into output_file. redirect or perish, no cap. π
π DESCRIPTION π
bestie. listen. we're talking about GFF3 lines that look like this:
chr1 CDNA cDNA_match 69388 69593 0 - . Dbxref=Sorghum_CDNA:Contig_448;Target=Contig_448 75 295 +
the vibe check here is: this line has both a Target attribute and a Dbxref attribute. when a line passes that check, the script pulls out the Dbxref value and prints a list of the database part and the accession part of that Dbxref value. two parts, separate columns, living their truth.
β οΈ and here's the fine print, bestie, don't skip it: this whole thing depends on the Dbxref value following a standard format β one where the name of the database comes before the accession and they're separated by a colon. that's the format. that's the only format. if your Dbxref is giving β¨chaosβ¨ instead, she cannot help you. π«Ά
π§ Rationale π§
so there's another script, gmod_make_gff_from_dbxref.pl, and she's the main character of the next episode. she takes a list of databases and accessions (exactly the kind this script provides) plus a directory of FASTA files, and she builds a GFF3 file that corresponds to those targets. iconic behaviour, honestly.
and the why? the reason these files exist at all is to load them into Chado before the computational analysis results get loaded. that way the database has a complete picture of the analysis that was performed. it's giving "do your paperwork before the party" and honestly? slay. no cap. π
π COMMAND-LINE OPTIONS π
None.
literally. zero. no flags, no--helpenergy, no secret menu. she takes agff_file_nameargument and that's the whole relationship. periodt. π
π AUTHOR π
Scott Cain <cain@cshl.org>
Copyright (c) 2007
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
(that's the licensing, bestie β same terms as Perl itself, so go be free, just keep the receipts. π)
and that's the whole page!! πΈ written up as perl v5.30.0, dated 2019-12-05, filed under GMOD_EX...ROM_GFF(1p) β mwah, thanks for reading, ily, go extract some Dbxrefs. π¦β¨π
π¦ where this page comes from
- debian bookworm: chado-utils 1.31-6 Β· Artistic-2.0
- debian trixie: chado-utils 1.31-6 Β· Artistic-2.0
- ubuntu jammy: chado-utils 1.31-6 Β· Artistic-2.0
- ubuntu noble: chado-utils 1.31-6 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms