Perl script error:syntax error near unexpected token `)'
1
0
Entering edit mode
2.5 years 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 • 1.1k views
ADD COMMENT
1
Entering edit mode
2.5 years ago
Mensur Dlakic ★ 28k

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: 1832 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