unix - Read a sequence in reverse -


i have problem here:

if have chain sequence below, how read strand in reverse (unix)?

input : cctttatctttatctag desired output : gatctatttctatttcc

thanks help. =)

echo "cctttatctttatctag" | rev gatctatttctatttcc 

rev want.

a related command tac reverses line order of file.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -