Entering edit mode
7.6 years ago
zizigolu
★
4.3k
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
thank you, but this is whole of IDs, for example if I want only 100 IDs from which what should I do?
grep -A 1 your_ID
them out of the miRBase file using a loop OR use filterbyname.sh from BBMap OR usesamtools faidx
as described here: A: How To Extract A Sequence From A Big (6Gb) Multifasta File ?.I think
grep -A 1 -F -f filewithids.txt mirbase.fa
would also do the trick and avoid looping.thank you both friends