This is a test version of Biostars. For the public version, visit https://www.biostars.org.
getting sequence for a list of miRNAs

hi,

I have a list of miRNAs IDs from different organisms how I can take sequence of mature miRNAs for all my IDs?

for example

lgi-mir-34

mdo-mir-193

mdo-mir-21

mdo-mir-302d

mml-mir-18

mirnas

2 answers

From miRBase using this file.

thank you, but this is whole of IDs, for example if I want only 100 IDs from which what should I do?

I think grep -A 1 -F -f filewithids.txt mirbase.fa would also do the trick and avoid looping.

thank you both friends

another way was mirdeep2

fastaselect.pl reads.fa reads_select.ids > reads_select.fa

This script only prints out the fasta entries that match an id in the id file.

Log in to answer this question.