How do I import a small BAM or SAM assembly into SnapGene?
Import or Open an Appropriate Reference Sequence
SAM and BAM formats are Map to reference assembly formats. A fasta format reference sequence is often output with a SAM or BAM file.
Note that SnapGene treats a SAM or BAM file as a list of reads for realignment to a reference. SnapGene ignores alignment coordinates present in the alignment file and realigns all reads to the reference file using the SnapGenes "align to reference" algorithm.
NOTE: SnapGene is not able to import or handle NGS assemblies.
Import your reference sequence fasta, or open an appropriate reference sequence file.
Import the Assembly alignment File
Click SnapGene menu Tools → Align to Reference DNA Sequence → Align Imported Sequences....
Choose "Align imported sequences" then click OK.
Use the File picker to select the appropriate SAM or BAM alignment file then click Open.
Confirm the Alignment has Imported Correctly.
The reads defined by the assembly file will be realigned onto the reference. SnapGene will trim all reads (if quality information is present) and realign all reads to the reference sequence.
Click File → Save to save the modified reference file.