This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to fetch genomic coordinates from fasta?

Hello all,

I would like to have genomic positions (BED/GFF/GTF) of my multifasta sequences from genome. I know that if I have any bed/gff (genomic positions) then I can extract seq (in fasta) by bedtools but here my case is opposite.

Any idea?

Thanks

r rna-seq gene sequence

2 answers

You have to map first as Juan said, for short reads you'll get sam/bam and then you can use bamToBed

Just align your sequences to the genome (Blast or Blat for long sequences, Bowtie, BWA, STAR for short sequences) and extract the coordinates.

Log in to answer this question.