BP_MASK_BY_SEARCH(1)
β¨ NAME β¨
okay bestie, meet bp_mask_by_search β she masks sequence(s) based on its alignment results π
This is the BP_MASK_BY_SEARCH(1) page from User Contributed Perl Documentation, and she's genuinely iconic at what she does.
π SYNOPSIS π
bp_mask_by_search.pl -f blast genomefile blastfile.bls > maskedgenome.fa
π DESCRIPTION π
Mask sequence based on significant alignments of another sequence. You need to provide the report file and the entire sequence data you want to mask, no skipping bestie π«Ά
By default this will assume you have done a TBLASTN (or TFASTY) and try and mask the hit sequence assuming you've provided the sequence file for the hit database. If you would like to do the reverse and mask the query sequence, specify the -t/--type query flag β¨
π This is going to read in the whole sequence file into memory, so for large genomes this may fall over. Big genomes, big feelings, big crash potential.
ngl, I'm using DB_File to prevent keeping everything in memory. One solution is to split the genome into pieces β but BEFORE you run the DB search though, you want to use the exact file you BLASTed with as input to this program π
Okay so below the double dash (--), options are of the form --format=fasta or --format fasta, or you can just say -f fasta. By -f/--format I mean either are acceptable options. The =s, =n, or =c bits specify these arguments expect a 'string' π§
π Options: π
-f/--format=sβ Search report format (fasta,blast,axt,hmmer,etc) π-sf/--sformat=sβ Sequence format (fasta,genbank,embl,swissprot) π§¬--hardmaskβ(booelean)Hard mask the sequence with themaskchar[default is lowercase mask]. yes, the page literally saysbooelean, and I respect the spelling π--maskchar=cβ Character to mask with [default isN], change to'X'for protein sequences π-e/--evalue=nβ Evalue cutoff for HSPs and Hits, only mask sequence if alignment has specified evalue or better π₯-o/--out/,--outfile=fileβ Output file to save the masked sequence to. πΎ-t/--type=sβ Alignment seq type you want to mask, the'hit'or the'query'sequence. [default is'hit'] π--minlen=nβ Minimum length of an HSP for it to be used in masking [default 0] π-h/--helpβ See this help information π«Ά
π AUTHOR - Jason Stajich π
Jason Stajich, jason-at-bioperl-dot-org. slay πΈ
xoxo, your Unix bestie π β this page is from perl v5.42.3, dated 2021-02-03, and it's filed under BP_MASK_BY_SEARCH(1) β¨
π¦ where this page comes from
- nixos 26.05: perl5.42.3-BioPerl 1.7.8
- nixpkgs unstable: perl5.42.3-BioPerl 1.7.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms