I have a genome sequence in fasta format.As well as I have a DNA pattern.I want to search this patern in the genome.I want just the matching gene header.How to code it in python?can anyone please suggest me?
I have a genome sequence in fasta format.As well as I have a DNA pattern.I want to search this patern in the genome.I want just the matching gene header.How to code it in python?can anyone please suggest me?
With literally ANY mapper you will be able to map your pattern sequence against the genome sequence, and it will show in the output the name of the target sequence (i.e. the name of the gene, or scaffold, or transcript depending on what your reference is).
No need to code it yourself!
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Blastn, or blastn <options> -outfmt 6
Thank you very much for your reply