#!/usr/bin/perl -w use strict; use Storable; #use lib "/bioseq/bioSequence_scripts_and_constants"; #use lib "/bioseq/pupkoSVN/trunk/www/bioSequence_scripts_and_constants/"; #use lib "/bioseq/Guidance/"; # == /bioseq/pupkoSVN/trunk/www/Guidance #use lib "/bioseq/Selecton/external_scripts"; use FindBin qw($Bin); use lib $Bin; # == pupkoSVN/www/Guidance use lib "$Bin/../bioSequence_scripts_and_constants/"; use lib "$Bin/../Selecton/"; use File::Basename; use codonAlign; use MSA_parser; use Guidance; use GENERAL_CONSTANTS; use BIOSEQUENCE_FUNCTIONS; use Bio::SeqIO; use Bio::AlignIO; use Bio::Tools::CodonTable; use Getopt::Long; use Bio::Seq; use File::Copy; use List::Util qw (shuffle); # Determine input mode - commandline or in server my $isServer; my (%VARS, %FORM); my $proc_num; my $outDir; my $stored_data_file; my $stored_form_data; my ($semphy_prog,$mafft_prog, $prank_prog,$clustalw_prog,$ruby_prog,$muscle_prog,$msa_set_score_prog,$pagan_prog,$remove_taxa_prog); my @ORIG_ARGV=@ARGV; my $overview_URL=""; my $gallery_URL=""; my $home_URL=""; my $status_file=""; # will follow the status of alternative MSA creation on the web-server die "USAGE: --seqFile --msaProgram --seqType --outDir Optional parameters: --program default=GUIDANCE2 --bootstraps default=100 --genCode