Commit 535a4a25 authored by mzhibo's avatar mzhibo Committed by GitHub
Browse files

Update split_rmdups.awk

parent 688fc4f3
Loading
Loading
Loading
Loading
+1 −1
Changes for PBS/scripts/split_rmdups.awk: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ END {
    print "below is the _catsplit id";
	print jID_catsplit;
    print "submitting _rmsplit jobs";
	sysstring=sprintf("qsub -l %s -o %s_rmsplit.log -j oe -q %s -N RmSplt%s <<-W depend=afterok:%s <<-EOF\n rm %s/*_msplit*_optdups.txt; rm %s/*_msplit*_dups.txt; rm %s/*_msplit*_merged_nodups.txt; rm %s/split*;\nEOF", walltime, outfile, queue, groupname,jID_catsplit, dir, dir, dir, dir);
	sysstring=sprintf("qsub -l %s -o %s_rmsplit.log -j oe -q %s -N RmSplt%s -W depend=afterok:%s <<-EOF\n rm %s/*_msplit*_optdups.txt; rm %s/*_msplit*_dups.txt; rm %s/*_msplit*_merged_nodups.txt; rm %s/split*;\nEOF", walltime, outfile, queue, groupname,jID_catsplit, dir, dir, dir, dir);
  system(sysstring);
    cmd=sprintf("qstat | grep RmSplt%s | cut -d ' ' -f 1",groupname);
    cmd |& getline jID_rmsplit;