yukiteruono / pbsim3

PBSIM3: a simulator for all types of PacBio and ONT long reads
GNU General Public License v2.0
46 stars 5 forks source link

fix sequence orientation in maf #22

Open ocxtal opened 4 months ago

ocxtal commented 4 months ago

I found sequences in generated maf are reversed for - reads. It looks the current code flips sequences when mut.seq_strand == '-', which is not needed as the maf_seq and read_seq are already in their correct direction and we compose maf alignment records with reference-side sequences in + direction.