BP_SEARCH2GFF(1)

πŸ“¦ version 1.7.8, in nixos 26.05, nixpkgs unstable

πŸ’… BP_SEARCH2GFF(1) β€” bestie's SearchIO-to-GFF era πŸ’…

okay so this page lives in the User Contributed Perl Documentation section, and it's all about bp_search2gff, a script that turns a SearchIO report into GFF. no cap, we're getting every flag. 🫢


✨ NAME ✨

bp_search2gff β€” turn a SearchIO report into GFF. literally the whole vibe. 🌸


🌈 SYNOPSIS 🌈

Usage:

bp_search2gff [-o outputfile] [-f reportformat] [-i inputfilename]  OR file1 file2 ..

πŸ’… DESCRIPTION πŸ’…

okay so this script will turn a SearchIO report (BLAST, FASTP, SSEARCH, AXT, WABA) into GFF. iconic. 🧚

The options are:

  • -i infilename β€” (optional) input filename; it will read either ARGV files or from STDIN. πŸŽ€
  • -o filename β€” the output filename [default STDOUT]. πŸ’–
  • -f format β€” search result format (blast, fasta,waba,axt) (ssearch is fasta format). default is blast. ✨
  • -t/--type seqtype β€” 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 the clone_loc() and create_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

πŸ‘‘ AUTHOR πŸ‘‘

Jason Stajich, jason-at-bioperl-dot-org. king behavior. πŸ’œ

🫢 Contributors 🫢

Hilmar Lapp, hlapp-at-gmx-dot-net. royalty. πŸŽ€


🌈 clone_loc 🌈

  • Title: clone_loc
  • Usage: my $l = clone_loc($feature->location);
  • Function: helper function that simplifies the task of cloning locations for --locfunc closures. Presently simply implemented using Storable::dclone().
  • Example: β€”
  • Returns: a L<Bio::LocationI> object 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 L<Bio::LocationI> compliant object.

πŸ“ create_loc πŸ“

  • Title: create_loc
  • Usage: my $l = create_loc("10..12");
  • Function: helper function that simplifies the task of creating locations for --locfunc closures. Creates a location from a feature-table formatted string.
  • Example: β€”
  • Returns: a Bio::LocationI object representing the location given as formatted string.
  • Args: a GenBank feature-table formatted string.

πŸ’– that's the whole page, bestie. this fab little manual shipped with perl v5.42.3, dated 2021-02-03. periodt. 🫢✨

πŸ“¦ where this page comes from