These two line didn't work on my bash!
awk '{gsub(/\r/,"")}substr($0,2,15)~/\./||/^A{15}/||/^G{15}/||/^T{15}/||/^C{15}/||length($0)<14{next}1' gcb110_adaptor_removed.txt
_--------------------------------------------------------
awk 'index(substr($1, 2, 10), ".")==0||index(substr($1, 1, 15), "AAAAAAAAAAAAAAA")==0||index(substr($1, 1, 15), "GGGGGGGGGGGG")==0||index(substr($1, 1, 15), "TTTTTTTTTTTTT")==0||index(substr($1,1, 15), "CCCCCCCCCCCCC")==0||index(substr($1, 1, 14), " ")==0{print $1}' gcb110_adaptor_removed.txt
Any body speculate the reason please!
awk '{gsub(/\r/,"")}substr($0,2,15)~/\./||/^A{15}/||/^G{15}/||/^T{15}/||/^C{15}/||length($0)<14{next}1' gcb110_adaptor_removed.txt
_--------------------------------------------------------
awk 'index(substr($1, 2, 10), ".")==0||index(substr($1, 1, 15), "AAAAAAAAAAAAAAA")==0||index(substr($1, 1, 15), "GGGGGGGGGGGG")==0||index(substr($1, 1, 15), "TTTTTTTTTTTTT")==0||index(substr($1,1, 15), "CCCCCCCCCCCCC")==0||index(substr($1, 1, 14), " ")==0{print $1}' gcb110_adaptor_removed.txt
Any body speculate the reason please!