3 October 2012
mafStrander is a program to coerce a particular strandedness out for all blocks based the strandedness of a target sequence. When a block contains the target sequence but in the flipped orientation (relative to the --strand
option) then the block is flipped, i.e. all start coordinates are transformed, and all sequence fields are reverse-complemented. If the block contains the target sequence multiple times and with conflicing strands (i.e. both + and - strands are observed), then nothing is done.
- Download the package.
cd
into the directory.- Type
make
.
mafStrander --maf alignment.maf --seq hg18 --strand + > positive.maf
-h, --help
show this help message and exit.--maf
input alignment maf file.--seq
sequence to base block strandedness upon. (string comparison only done for length of input, i.e. --seq=hg18 will match hg18.chr1, hg18.chr2, etc etc)--strand
strand to enforce, when possible. may be + or -, defaults to +.
$ mafStrander --maf alignment.maf --seq hg18 --strand + > positive.maf