How Do You Convert A Sam/Bam File To A Psl Or Axt Format?
1
2
Entering edit mode
10.8 years ago
lp364 ▴ 20

I am trying to make a chain file to use in liftOver and these can be made using PSL or AXT files. My current data is in SAM/BAM. What's the best way to convert this to a psl or axt format?

samtools conversion • 3.8k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode
10.8 years ago

Perhaps you could try passing the output from the sam2bed script to the bed2psl.py script. I'd take care to make sure coordinate indexing is correct at each step of the process.

ADD COMMENT
2
Entering edit mode

where can you download the bed2psl.py? It seems that the sam2bed doesn't process the cigar string that is needed to generate the psl.

ADD REPLY

Login before adding your answer.

Traffic: 1867 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6