This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert A Psl File To A Sam File And Also Write Sequences To The Sam File?

Hi,

I'm wondering if there is an existing tool to convert a PSL file to a SAM file that also writes sequences to the SAM file?

I don't think psl2sam.pl in samtools could do it.

Thanks for your help!

sam

Did you try psl2sam.pl from this site?

they have modified psl2sam.pl codes which was originally from samtools

1 answer

Use BedTools to convert psl file to bed, then convert bed to bam, then with samtools bam to sam.

This isn't that useful....examples should be included.

Log in to answer this question.