Convert MIRA Assembly Format (MAF) to Sequence Alignment/Map (SAM) format
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Tests Added internal switch to force CIGAR strings with M Jun 11, 2012
README README change, should work on MAF files from MIRA 4.0 too. Nov 18, 2013
maf2fasta.py Fixed typo in README Mar 18, 2015
maf2sam.py Cope with gap characters within soft clipped ends of reads. Mar 24, 2015
sam2bam.py

README

This is a simple Python script designed to covert from the MIRA
Assembly Format (MAF) to Sequence Alignment/Map (SAM) format.

MAF: http://mira-assembler.sourceforge.net/docs/chap_maf_part.html
SAM: http://samtools.sourceforge.net/

This Python script served as an interim converter for MAF files from
up to MIRA v3.4 into the popular SAM/BAM assembly/mapping format.
The script was first publicly released on 30 September 2010 on the
MIRA project's mailing list:

http://www.freelists.org/post/mira_talk/Paired-end-info-SAMBAM-output-from-MIRA,13

Please note that the MIRA v3.9.x development releases leading to MIRA v4
have native support for SAM output via the included convert_project tool,
so this maf2sam.py script will become obsolete. However, it has been
updated to handle the revised MAF files from MIRA v3.9 and 4.0 as well.

The source code repository for this script is here:

https://github.com/peterjc/maf2sam

The script requires Biopython to be installed, see http://biopython.org