Entering edit mode
10.0 years ago
jyu429
▴
120
Hi, I tried using bioawk as follows
bioawk -c fastx '$name !/P/ { print ">"$name; print $seq }' < mat.fasta
bioawk -c fastx '$name ! /P/ { print ">"$name; print $seq }' < mat.fasta
but it says
bioawk: syntax error at source line 1
context is
$name >>> !/ <<<
bioawk: bailing out at source line 1
Could someone tell me what silly error I'm doing? Thanks
Thanks! Worked perfectly!