BP_SEARCH2GFF(1p)
π BP_SEARCH2GFF π
okay bestie, so this is bp_search2gff, a User Contributed Perl Documentation page (section 1p of the manual, iykyk). Sit down, grab a boba, because we're turning search reports into GFF and it's gonna be so satisfying. β¨
πΈ NAME πΈ
bp_search2gff β turn a SearchIO report into GFF
no cap, that's literally the whole job description and she does it flawlessly π
π¦ SYNOPSIS π¦
Usage:
bp_search2gff [-o outputfile] [-f reportformat] [-i inputfilename] OR file1 file2 ..
β¨ DESCRIPTION β¨
This script will turn a SearchIO report (BLAST, FASTP, SSEARCH, AXT, WABA) into GFF. That's it, that's the serve. π
The options are:
-iinfilename β (optional) inputfilename, will read either ARGV files or from STDIN-ofilename β the output filename [default STDOUT]-fformat β search result format (blast, fasta,waba,axt) (ssearch is fasta format). default is blast.-t/--typeseqtype β if you want to see query or hit information in the GFF report-s/--sourceβ specify the source (will be algorithm name otherwise like BLASTN)--methodβ the method tag (primary_tag) of the features (default is similarity)--scorefuncβ a string or a file that when parsed evaluates to a closure which will be passed a feature object and that returns the score to be printed--locfuncβ a string or a file that when parsed evaluates to a closure which will be passed two features, query and hit, and returns the location (Bio::LocationI compliant) for the GFF3 feature created for each HSP; the closure may use theclone_loc()andcreate_loc()functions for convenience, see their PODs--onehspβ only print the first HSP feature for each hit-p/--parentβ the parent to which HSP features should refer if not the name of the hit or query (depending on--type)--target/--notargetβ whether to always add the Target tag or not-hβ this help menu--versionβ GFF version to use (put a 3 here to use gff 3)--componentβ generate GFF component fields (chromosome)-m/--matchβ generate a 'match' line which is a container of all the similarity HSPs--addidβ add ID tag in the absence of--match-c/--cutoffβ specify an evalue cutoff
Additionally specify the filenames you want to process on the command-line. If no files are specified then STDIN input is assumed. You specify this by doing: bp_search2gff < file1 file2 file3
π«Ά reminder bestie: no files on the command line means she's reading from STDIN, and you tell her with that lil redirect right there.
π AUTHOR π
Jason Stajich, jason-at-bioperl-dot-org
π Contributors π
Hilmar Lapp, hlapp-at-gmx-dot-net
π§ clone_loc
- Title :
clone_loc - Usage :
my $l = clone_loc($feature->location); - Function: Helper function to simplify the task of cloning locations for
--locfuncclosures.
Presently simply implemented using Storable::dclone().
- Example :
- Returns : A
Bio::LocationIobject of the same type and with the same properties as the argument, but physically different. All structured properties will be cloned as well. - Args : A
Bio::LocationIcompliant object
π create_loc
- Title :
create_loc - Usage :
my $l = create_loc("10..12"); - Function: Helper function to simplify the task of creating locations for
--locfuncclosures. Creates a location from a feature-table formatted string. - Example :
- Returns : A
Bio::LocationIobject representing the location given as formatted string. - Args : A GenBank feature-table formatted string.
and that's the whole page, bestie!! go forth and GFF-ify everything πβ¨
this icon was brought to you by perl v5.32.1, dated 2021-08-15 β yeah she's an old queen but she still eats ππ
π¦ 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