# HG changeset patch # User dereeper # Date 1624557382 0 # Node ID d8c5bea1cce2cd7ad47c0e939ca252ee44d85573 # Parent 70b7a5270968937c2188bdb359f7e8e3a683a5da Uploaded diff -r 70b7a5270968 -r d8c5bea1cce2 PGAP-1.2.1/PGAP.pl --- a/PGAP-1.2.1/PGAP.pl Thu Jun 24 16:15:34 2021 +0000 +++ b/PGAP-1.2.1/PGAP.pl Thu Jun 24 17:56:22 2021 +0000 @@ -1804,7 +1804,8 @@ system("grep '>' All.pep > genelist"); system("$formatdb -p T -i All.pep"); system("$blastall -p blastp -i All.pep -d All.pep -M BLOSUM45 -m9 -e $evalue -o All.blastp -a $thread"); - system("perl ./Blast_Filter.pl All.blastp All.pep $coverage $identity $score | $mcl - --abc -I 2.0 -o All.cluster"); + my $dircur = dirname(__FILE__); + system("perl $dircur/Blast_Filter.pl All.blastp All.pep $coverage $identity $score | $mcl - --abc -I 2.0 -o All.cluster"); &FormatCluster("All.cluster","genelist",$spnum,\@clusters); #system("rm -rf *.pep* All.blastp All.cluster genelist"); } diff -r 70b7a5270968 -r d8c5bea1cce2 PGAP.xml --- a/PGAP.xml Thu Jun 24 16:15:34 2021 +0000 +++ b/PGAP.xml Thu Jun 24 17:56:22 2021 +0000 @@ -6,7 +6,6 @@ mcl phylip perl-bioperl - perl-statistics-linefit --> tmpdir$$/$particule.function"); @@ -60,6 +62,6 @@ } #chdir("$dirname/PGAP-1.2.1"); -my $cmd = "perl $dirname/PGAP-1.2.1/PGAP.pl --input tmpdir$$ --output outdir --cluster --pangenome --variation --evolution --function --strains ".join("+",@list)." --method GF"; +my $cmd = "perl $dirname/PGAP-1.2.1/PGAP.pl --input tmpdir$$ --output outdir --cluster --pangenome --variation --evolution --function --strains ".join("+",@names)." --method GF"; system($cmd); system("cp -rf outdir/1.Orthologs_Cluster.txt $out");