Entering edit mode
11.0 years ago
ivpz
▴
20
Hi all,
After doing a de novo assembly of a circular genome and comparing the linear contig to a closely related circular genome, I realise that the origin on the contig is actually located at a position about 30Kbp from the bp 1. I wonder what may be the best way to move that 30 kbp to a correct location, renumber the contig?
Thank you.
To clarify, I need to "cut and paste" the 30 Kbp 5'end to the 3'end. I was hoping that there may be a more efficient way to do this.
if all you have is a sequence then just move the sequence around, you can also do that with tools of various kinds if you wanted to use numerical coordinates, like so:
now you could just place these into a file and concatenate like so:
by the end of the operation file
b
will contain the sequences from100-110
followed by1-10
I've done something similar using extractseq from emboss. I was thinking more of a simple one liner :)
Anyway, thanks for the suggestion. I guess samtools may work faster.