-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathProgram.cs
31 lines (28 loc) · 921 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Linq;
namespace SELDLA_G
{
public static class Program
{
[STAThread]
static void Main(string[] args)
{
Console.WriteLine(System.Environment.CurrentDirectory);
if(args.Length == 0)
{
Console.WriteLine("SELDLA-G <mode>");
Console.WriteLine(" linkage: Linkage analysis mode");
Console.WriteLine(" hic: Hi-C analysis mode");
}
else if(args[0] == "linkage")
{
using (var game = new LinkageAnalysis(args.ToList().Where((source, index) => index != 0).ToArray()))
game.Run();
}else if(args[0] == "hic")
{
using (var game = new HiCAnalysis(args.ToList().Where((source, index) => index != 0).ToArray()))
game.Run();
}
}
}
}