z0on / GO_MWU

Rank-based Gene Ontology analysis of gene expression data
37 stars 17 forks source link

Error report while running perl command #1

Closed cjvegame closed 6 years ago

cjvegame commented 6 years ago

Hello there,

I was trying to use your perl file: nrify_GOtable.pl line but I get this error.

syntax error at nrify_GOtable.pl line 10, near "<" Excessively long <> operator at nrify_GOtable.pl line 21.

I think it might be that I might be using it wrong: 1) I have to run the command in my terminal as: perl nrify_GOtable.pl line [file name] 2) The file has to be a two column csv. file: gene_id and Go term?

Is this correct?

z0on commented 6 years ago

Hey - The usage is actually

perl nrify_GOtable.pl mygotable

where mygotable is a tab-delimited file (NB: not a comma-delimited csv) with two columns as you say (gene_id GO123 , or it could be geneID GO123;GO345;GO567)

this might sound silly but could you also check your line endings in the input file? They should be unix-type ("\n"), not DOS.

Misha