im newbie to linux and NGS. I want to extract specific sequences from genome.fasta file. the IDs which i have are as follows
gnl|BGIA2|CA_chr1:329729-329840
gnl|BGIA2|CA_chr1:359729-379840
.............so on...........
where gnl|BGIA2|CA_chr1 is the name of the chromosome and 329729-329840 is the range of the nucleotides needed to be extracted in separate file alonge with its ID. can someone kindly help me how to do this with samtools or any other tool or command/script.
many thanks
Possible duplicate of How To Extract A Sequence From A Big (6Gb) Multifasta File ?
Hello daisy,
is this connected to your other question?
fin swimmer
Dear Fin Swimmer, thank you so much for your kind help and precious time. no it is not related to the previous question as that was to extract sequence reads that have sequences spanning specific range. this question is to extract that range from fasta file/genome.fasta..