Perl script error:syntax error near unexpected token `)'
1
0
Entering edit mode
23 months ago
slin023 • 0

Greetings, I followed a Augustus manual to predict genome models. It seems reliable until I used perl command line to convert Isoseq alignment .psl to .gff using perl & blat2hints (P. 41). The command are the following:

 cat gmap.psl | sort -n -k 16,16 | sort -s -k 14,14 | perl -ne \
           ’@f=split; print if ($f[0]>=100)’ | blat2hints.pl --source=PB \
           --nomult --ep_cutoff=20 --in=/dev/stdin --out=isoseq.gff

but the I received the error shows -bash: syntax error near unexpected token('`.

Any ideas what is wrong with the command? please let me know, thank you!

augustus perl • 927 views
ADD COMMENT
1
Entering edit mode
23 months ago
Mensur Dlakic ★ 27k

I think that instead of character it should be '.

'@f=split; print if ($f[0]>=100)'
ADD COMMENT
0
Entering edit mode

ok, that works!! thank you so much! such a small detail makes difference!

ADD REPLY

Login before adding your answer.

Traffic: 2138 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6