-
Notifications
You must be signed in to change notification settings - Fork 0
/
MGMIC_future_script_3.pl
executable file
·74 lines (53 loc) · 2.22 KB
/
MGMIC_future_script_3.pl
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env perl
use strict;
use warnings;
#--INCLUDE PACKAGES-----------------------------------------------------------
use IO::String;
use File::Basename;
use File::Copy;
use Cwd;
#-----------------------------------------------------------------------------
#----SUBROUTINES--------------------------------------------------------------
#-----------------------------------------------------------------------------
#put necessary subruoutines here
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#input files
#arg[0] = "Contigs.fasta"" from the assembly_ray folder
#arg[1] = "prodigal.orfs.faa" from the assembly_ray folder
#arg[2] = "prodigal.orfs.fna" from the assembly_ray folder
#arg[3] = "F.QCed.fastq"
#arg[4] = "R.QCed.fastq"
#arg[5] = working direcotory
my $assembly = $ARGV[0];
my $predicted_proteins = $ARGV[1];
my $predicted_genes = $ARGV[2];
my $ForwardReads = $ARGV[3];
my $ReverseReads = $ARGV[4];
my $ResultDirectory = $ARGV[5];
if (not defined $ARGV[5] ) {
$ResultDirectory = cwd();
}
my $on_off_switch = $ARGV[6];
if (not defined $ARGV[6] ) {
$on_off_switch = "on";
# $on_off_switch = "off";
}
my $runtime_flags = $ARGV[7];
#-----------------------------------------------------------------------------
# on/off switch
#-----------------------------------------------------------------------------
if ($on_off_switch eq "on")
{
#-----------------------------------------------------------------------------
#--------- main loop --------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# on/off switch end
#-----------------------------------------------------------------------------
}
#-----------------------------------------------------------------------------
#--------- Cleanup --------
#-----------------------------------------------------------------------------
#system ("rm -rf ".$ResultDirectory."/temp");