Re: [galaxy-dev] Could anyone body tell me why our C program do not work in galaxy

2011-04-25 Thread Peter Cock
2011/4/25 liyanhui607 liyanhui...@163.com:
 Thank you  very much!
 After I have added it to the path, it can work now.
 Best Wishes!
 Yan-Hui Li

Oh good.

Peter

P.S. Please keep the mailing list on replies.

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/


[galaxy-dev] Could anyone body tell me why our C program do not work in galaxy

2011-04-22 Thread liyanhui607
Dear Sir,
  We have a program writen in C lanuage. It can run nomally in linux 
environment.
   We plan to add it to galaxy, but it did not work.
   The C file after complie named shortest-path
 The shortest-path.xml is as follow:
  Could anybody tell me what is wrong ? why it does not work?
   Thank you very much!
 
Best Wishes!
 
Yan-Hui Li
 
 
 tool id=shortest_path_1 name=shortest_path
 command interpreter=C./shortest_path  $infile1  $output /command
inputs
param format=text name=infile1 type=data
label=
expressed_genes_20101024.hprd8_biogrid-2.0.58.adj_matrix.txt
/
/inputs
outputs
data format=tabular name=output /
/outputs
tests
test
param name=input value=1/
param name=input 
value=../GEO_dataset/expressed_genes_u133a.6k_u133p2.8k_20101024.txt/
param name=input 
value=../ppi/hprd8_biogrid-2.0.58.ppi.txt/
output name=out_file1 
file=expressed_genes_20101024.hprd8_biogrid-2.0.58.ppi.txt/
/test
/tests
/tool
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Re: [galaxy-dev] Could anyone body tell me why our C program do not work in galaxy

2011-04-22 Thread Dannon Baker
Without seeing an error message I'll guess that issue is that there is no C 
interpreter.  Your program is a compiled executable.

Try the following and let me know (including any error messages) if it doesn't 
work:

command
  shortest_path  $infile1  $output
/command

-Dannon


On Apr 22, 2011, at 2:12 AM, liyanhui607 wrote:

 Dear Sir,
   We have a program writen in C lanuage. It can run nomally in linux 
 environment.
We plan to add it to galaxy, but it did not work.
The C file after complie named shortest-path
  The shortest-path.xml is as follow:
   Could anybody tell me what is wrong ? why it does not work?
Thank you very much!
  
 Best Wishes!
  
 Yan-Hui Li
  
  
  tool id=shortest_path_1 name=shortest_path
  command interpreter=C./shortest_path  $infile1  $output 
 /command
 inputs
 param format=text name=infile1 type=data
 label=
 expressed_genes_20101024.hprd8_biogrid-2.0.58.adj_matrix.txt
 /
 /inputs
 outputs
 data format=tabular name=output /
 /outputs
 tests
 test
 param name=input value=1/
 param name=input 
 value=../GEO_dataset/expressed_genes_u133a.6k_u133p2.8k_20101024.txt/
 param name=input 
 value=../ppi/hprd8_biogrid-2.0.58.ppi.txt/
 output name=out_file1 
 file=expressed_genes_20101024.hprd8_biogrid-2.0.58.ppi.txt/
 /test
 /tests
 /tool
 
 
 体验网易邮箱2G超大附件,轻松发优质大电影、大照片,提速3倍! 
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
  http://lists.bx.psu.edu/


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Re: [galaxy-dev] Could anyone body tell me why our C program do not work in galaxy

2011-04-22 Thread Peter Cock
2011/4/22 liyanhui607 liyanhui...@163.com:
 Dear Sir,
   We have a program writen in C lanuage. It can run nomally in linux
 environment.
    We plan to add it to galaxy, but it did not work.
    The C file after complie named shortest-path
  The shortest-path.xml is as follow:
   Could anybody tell me what is wrong ? why it does not work?
    Thank you very much!

 Best Wishes!

 Yan-Hui Li

What error message do you get?

Did you try the two changes I suggested (the same things Dan just
suggested as well): https://bitbucket.org/galaxy/galaxy-central/issue/525

Peter

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/