8d8720d1a6a00ef77aeb3a609afbb885ae5c8926
[jabaws.git] / runner / compbio / runner / _impl / Ronn.java
1 /* Copyright (c) 2011 Peter Troshin\r
2  *  \r
3  *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0     \r
4  * \r
5  *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
6  *  Apache License version 2 as published by the Apache Software Foundation\r
7  * \r
8  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\r
9  *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache \r
10  *  License for more details.\r
11  * \r
12  *  A copy of the license is in apache_license.txt. It is also available here:\r
13  * @see: http://www.apache.org/licenses/LICENSE-2.0.txt\r
14  * \r
15  * Any republication or derived work distributed in source code form\r
16  * must include this copyright and license notice.\r
17  */\r
18 package compbio.runner._impl;\r
19 \r
20 import java.util.List;\r
21 \r
22 import compbio.runner._SkeletalCommandBuilder;\r
23 \r
24 /*\r
25  @see \r
26  RONN does not accept stdin the file name must be defined as parameter\r
27  It accepts only clear sequence, no FASTA header! \r
28  It can only analyse ONE sequence per run! (or may be not, but the results gets overriden!)\r
29 \r
30  */\r
31 public class Ronn extends _SkeletalCommandBuilder {\r
32 \r
33         private static final String command = "/homes/pvtroshin/soft/RONNv3_fasta/Ronn_runner.sh";\r
34 \r
35         public String getCommand(ExecProvider provider) {\r
36                 return command;\r
37         }\r
38 \r
39         public static String getTestCommand() {\r
40                 return command;\r
41         }\r
42 \r
43         public String getCommandName() {\r
44                 return "Ronn";\r
45         }\r
46 \r
47         private final String workDirectory;\r
48 \r
49         public Ronn(String workDirectory) {\r
50                 this.workDirectory = workDirectory;\r
51         }\r
52 \r
53         @Override\r
54         public List<String> getCreatedFiles() {\r
55                 // TODO Auto-generated method stub\r
56                 return null;\r
57         }\r
58 \r
59         @Override\r
60         public String getInput() {\r
61                 // TODO Auto-generated method stub\r
62                 return null;\r
63         }\r
64 \r
65 }\r