in reply to Syntax error "."

The script works for me. How exactly are you running the script using Padre and what is your OS and perl version ?

poj

Replies are listed 'Best First'.
Re^2: Syntax error "."
by Newbiez (Initiate) on Dec 25, 2017 at 08:59 UTC
    Dear poj,

    I am running the script by opening the script using Padre. The script works fine for me. According to the script, it takes two input files. Then, I key in the following command (according to the README_70.txt file) into the script and executed the script:

    ./targetscan_70.pl miR_Family_info_sample.txt UTR_Sequences_sample.txt targetscan_70_output.txt

    However, only syntax error was obtained.

    My OS is Microsoft Window vista and perl version 5.12.3

    Thank you so much and Merry Christmas.

    Best regards,

    Newbiez

      Don't make any changes to the script.

      If you want to use Padre open the script targetscan_70.pl using File->Open... Then using Tools->Preferences->Language - Perl 5 set the Script Arguments to miR_Family_info_sample.txt UTR_Sequences_sample.txt targetscan_70_output.txt and Save.

      Now run script (F5)

      If you get message Line 89: Using a | char in open without a | at the beginning or end is usually a typo. Do you want to continue ? press Yes.

      If you get message Should I over-write targetscan_70_output.txt [yes/no]? enter Yes and you should see

      Processing CDC2L6
      Processing FNDC3A
      Processing LIN28B
      Processing LPHN1
      Processing NLRP1
      Processing ZNF197
      Press any key to continue . . .>
      

      poj
        Dear poj,

        Thank you for your help. You are my saviour. =)

        Have a nice day.

        Best regards,

        Newbiez