A simple solution (...) then open it in a text editor (for example, Notepad++) and manually copy all sequences that have "Drosophila melanogaster" in their titles to another file.
no, this is not a simple solution.
I have micro-RNA sequences that I need to align specifically to Drosophilar melanogaster mature microRNA from mirbase using bowtie. Have realized the fasta sequence of mature miRNA in mirbase contain all the organisms that whose microRNAs have been sequenced and submitted. I was wondering how I can extract/or specifically use D. melanogaster as reference as opposed to using all the mature miRNAs.
A simple solution is to download the file https://mirbase.org/download/mature.fa , then open it in a text editor (for example, Notepad++) and manually copy all sequences that have "Drosophila melanogaster" in their titles to another file.
A simple solution (...) then open it in a text editor (for example, Notepad++) and manually copy all sequences that have "Drosophila melanogaster" in their titles to another file.
no, this is not a simple solution.
assuming https://mirbase.org/download/mature.fa there is only one line per sequence and there is 'Drosophila melanogaster' in each header:
wget -q -O - "https://mirbase.org/download/mature.fa" |\
grep -F 'Drosophila melanogaster' -A1 --no-group-separator > melanogaster.fa
Log in to answer this question.
Review all your previous questions and validate or comment the answers (green tick on the left):
Do not type in a sentence to use as tags. Use relevant subject matter keywords. I'll try and fix it for you this time but please apply yourself a little more in the future.