This is a test version of Biostars. For the public version, visit https://www.biostars.org.
miRanda only displays hits?

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

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 :)

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?

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 '>'

0 answers

No answers yet.

Log in to answer this question.