I want to go to the hg19 reference fasta file and change say, position 727004 in chromosome 1 for a project.
The file contains N's in the beginning. Where do I start counting to find position 727004?
I am thinking of writing a python script to find the given positions and change them.
Is there a simpler way to do this?
You have to start from the beginning of your sequence, so chr1 position 1
Python will works well, create a dictionnary of positions you want to change and iterate over your hg19 reference
change specific bases in a fasta file
http://seqanswers.com/forums/showthread.php?t=76589