I have a problem with using the grep command...
Im trying to parse lines in a file and read only characters t,c,a,g lower or upper case...but i keep getting trouble in the outcome:
for example axxxxtc should return atc but it doesnt...
heres my code:
result=`echo $line | grep [tcagTCAG]
any help plz?