Unix and Linux Discussions Tagged with amp |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
10,096 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,762 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,737 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,882 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,919 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,954 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
41,493 |
Solaris |
|
|
|
5 |
2,823 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
1,253 |
What is on Your Mind? |
|
|
|
33 |
34,814 |
Solaris |
|
|
|
2 |
3,648 |
Solaris |
|
|
|
2 |
3,543 |
IP Networking |
|
|
|
2 |
3,112 |
AIX |
|
|
|
0 |
1,888 |
Software Releases - RSS News |
|
|
|
2 |
7,534 |
Solaris |
|
|
|
2 |
2,167 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,031 |
Programming |
|
|
|
0 |
2,348 |
OS X Support RSS |
|
|
|
1 |
29,299 |
Shell Programming and Scripting |
|
|
|
0 |
1,977 |
Solaris BigAdmin RSS |
|
|
|
7 |
12,324 |
Ubuntu |
|
|
|
0 |
1,341 |
Complex Event Processing RSS News |
|
|
|
0 |
1,881 |
Cartoons for Geeks |
|
|
|
0 |
1,269 |
Software Releases - RSS News |
|
|
|
6 |
4,731 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,495 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,430 |
Cartoons for Geeks |
|
|
|
0 |
1,757 |
Complex Event Processing RSS News |
|
|
|
0 |
2,380 |
Cartoons for Geeks |
|
|
|
0 |
3,083 |
HP Server News and Podcasts RSS |
|
|
|
0 |
1,669 |
MySQL DevZone RSS |
|
|
|
5 |
6,426 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,697 |
Complex Event Processing RSS News |
|
|
|
3 |
5,801 |
UNIX and Linux Applications |
|
|
|
6 |
10,005 |
Solaris |
|
|
|
0 |
2,305 |
Cartoons for Geeks |
|
|
|
0 |
1,789 |
Cartoons for Geeks |
|
|
|
2 |
5,068 |
OS X (Apple) |
|
|
|
3 |
2,209 |
Shell Programming and Scripting |
|
|
|
0 |
1,043 |
Software Releases - RSS News |
BP_MASK_BY_SEARCH(1p) User Contributed Perl Documentation BP_MASK_BY_SEARCH(1p)
NAME
mask_by_search - mask sequence(s) based on its alignment results
SYNOPSIS
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 which
you want to mask. 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. I'm using DB_File to prevent keeping
everything in memory, one solution is to split the genome into pieces (BEFORE you run the DB search though, you want to use the exact file
you BLASTed with as input to this program).
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 or =n or =c 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 the maskchar [default is lowercase mask]
--maskchar=c Character to mask with [default is N], 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.
perl v5.14.2 2012-03-02 BP_MASK_BY_SEARCH(1p)