# HG changeset patch # User deepakjadmin # Date 1452772932 18000 # Node ID 3d2ac3dceb8fc6abb7c10756ad61bfd82ada8a8e Uploaded diff -r 000000000000 -r 3d2ac3dceb8f addact.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addact.pl Thu Jan 14 07:02:12 2016 -0500 @@ -0,0 +1,25 @@ +#!/usr/bin/perl +use warnings; +use strict; +open(FH,$ARGV[0]) or die "Couldn't open file, $!"; +open(DH,">$ARGV[4]") or die "Couldn't open file, $!"; +my $first_line = scalar ; +chomp($first_line); +$first_line = join(",",$first_line,"outcome\n"); +print DH $first_line; +while(){chomp($_); +my $line= join(",",$_,"$ARGV[1]\n"); +print DH $line; +} +close FH; +open(SH,$ARGV[2]) or die "Coudn't open file,$!"; +scalar ; +while(){ +if($ARGV[1] ne $ARGV[3]){chomp($_); +my $line1= join(",",$_,"$ARGV[3]\n"); +print DH $line1; +} +else{ print ("There is error to assign activity\n");exit;} +} +close SH; +close DH; diff -r 000000000000 -r 3d2ac3dceb8f addact.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addact.xml Thu Jan 14 07:02:12 2016 -0500 @@ -0,0 +1,36 @@ + +"Merge data files of Active and Inactive compounds " + + PADEL_TOOL2_PATH + + + + + +\$PADEL_TOOL2_PATH/addact.pl $Input1 $Activity1 $Input2 $Activity2 $Merged_file + + + + + + + + + + + + + + + + + +Provide descriptor files of active/positive and inactive/negative molecules and assign them properly. + + diff -r 000000000000 -r 3d2ac3dceb8f tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Jan 14 07:02:12 2016 -0500 @@ -0,0 +1,8 @@ + + + + + $REPOSITORY_INSTALL_DIR + + +