miRanda only displays hits?
0
1
Entering edit mode
6.9 years ago

Hi,

Is it possible that the output file of miranda only displays hits, without also displaying all those where no hits were found?

rna-seq • 1.7k views
ADD COMMENT
0
Entering edit mode

Someone already solve this problem by just extracting the info of the hits executing grep -A 1 "Scores for this hit:" rad.txt | sort | grep >

You can see the original thread here :)

ADD REPLY
0
Entering edit mode

Thanks! How should I command this in terminal? If i run miranda: file1 file2 and then add "grep -A 1 "Scores for this hit:" rad.txt | sort | grep >", it gives an error?

ADD REPLY
0
Entering edit mode

So miRanda works like this: miranda file1 file2 -o file3

So after the results are saved on file3, you can write grep -A 1 "Scores for this hit:" file3 | sort | grep '>'. If you just want the hits and not have an intermediate file, just type miranda file1 file2 | grep -A 1 "Scores for this hit:" file3 | sort | grep '>'

ADD REPLY

Login before adding your answer.

Traffic: 1703 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6