Skip to content

vforget/PyBLATPSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyBLATPSL - A Python module for the PSL and PSLX format 
            from the BLAT alignment program

- Usage -

As a script:

python psl.py line.psl

or

python psl.py line.pslx
    
As a module:

from psl import psl
# Replicate BLAT output from web
for line in open("line.psl"):
    p = Psl(line)
    print p.qname, p.score(), p.qstart+1, p.qend, p.qsize, \
        "%.1f" % p.calcPercentIdentity(), p.tname, p.strand, \
        p.tstart+1, p.tend, p.tspan()        
               
Output should contain same values as using BLAT, http://genome.ucsc.edu/cgi-bin/hgBlat, 
to align line.fasta against the Mar. 2006 build of the human genome.

About

A Python module for the PSL format from the BLAT alignment program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages