sanger-pathogens / Bio-Tradis

A set of tools to analyse the output from TraDIS analyses
https://sanger-pathogens.github.io/Bio-Tradis/
Other
22 stars 29 forks source link

tradis_comparison.R error #71

Closed DanMediati closed 7 years ago

DanMediati commented 7 years ago

Hello, I keep getting the "error unexpected input in _". I don't see an underscore at the beginning of an argument or option and I've tried surrounding the names with backticks but to no avail.

danielmediati$ tradiscomparison.R -o outputfile.csv -p outputplot.pdf --controls controlsLB.txt --conditions conditionsM9.txt Loading required package: limma Read 2 items Read 2 items Error: unexpected input in "" Execution halted

Im concerned because the script is able to generate and produce both output files, that being the "output file.csv" and the "output plot.pdf", are these files accurately constructed despite the error occurring? Has this issue happened to anyone else and if so how was this resolved?

Cheers for any help/advice

lbarquist commented 7 years ago

Hi,

I haven't seen this error before. Could you email me your input files (i.e. controlsLB.txt, conditionsM9.txt, and the tab files listed in these) so I can take a look at what's going on? Obviously these will be kept confidential. My email is lars.barquist@uni-wuerzburg.de

Thanks, Lars

lbarquist commented 7 years ago

For posterity's sake: this is due to POD documentation lines that are added during the system installation of these scripts, possibly due to handling by cpan? These do not affect the results of these scripts, but should be fixed.

andrewjpage commented 7 years ago

Thanks for letting us know. I've updated the CPAN module so that it doesnt add PERL documentation lines to the bottom of R scripts! Version 1.3.1 should be available from CPAN in the next few hours.