Commit 3241c83b authored by Olivier Langella's avatar Olivier Langella
Browse files

by default condor masschroq requires 12 cpus and tmp directory is set to /tmp

parent 81deb8b3
......@@ -40,9 +40,11 @@ print $condor_file "Output = $tempdir/masschroq.out\n";
print $condor_file "Error = $tempdir/masschroq.error\n";
print $condor_file "requirements = Cpus == 12\n";
print $condor_file "\n";
print $condor_file "Arguments =";
print $condor_file "Arguments = -c 12 -t /tmp ";
foreach (@ARGV) {
print $condor_file " $_"
}
......@@ -55,20 +57,21 @@ close $condor_file;
print "masschroq condor submission file submit_condor_masschroq.txt created\n";
print "condor job temporary directory $tempdir created\n";
print "Starting masschroq to condor\n";
print "Starting masschroq in condor\n";
system("condor_submit ".$tempdir."/submit_condor_masschroq.txt");
#eval "
# help function
# print " -t, --tmpdir DIRECTORY\tuse DIRECTORY as temporary working direcory for masschroq : temporary files generated by masschroq during execution time (one file or several slices at a time per xml data file being analysed) will go there. By default DIRECTORY is the current working directory of masschroq. Use this option if you want to set another one.\n";
sub display_help {
print "Unknown option: @_\n" if ( @_ );
print "Usage: masschroq-condor [OPTION] [FILE]\n";
print "Perform Mass Chromatogram Quantification as indicated in XML input FILE via masschroq on a condor system.\n";
print "Options:\n";
print" -h, --help\t\t\tdisplay this help and exit\n";
print " -t, --tmpdir DIRECTORY\tuse DIRECTORY as temporary working direcory for masschroq : temporary files generated by masschroq during execution time (one file or several slices at a time per xml data file being analysed) will go there. By default DIRECTORY is the current working directory of masschroq. Use this option if you want to set another one.\n";
print " -p, --parse-peptides\t\tperform peptide text file parsing only, no quantification. If the identified peptides are given to masschroq via peptide text files (defined in FILE), he parses them, creates a new file called parsed-peptides_FILE which contains the FILE content (minus the lines relative to thr peptide text files to parse) plus the parsed peptides information. By default masschroq continues analysis and quantification on this new file. Use this option if you want masschroq only to parse the petide files but not to continue quantification on them. This allows you to check the parsed peptides and to add trace information on specific peptides before quantification.\n";
print " -v, --version\t\t\tdisplay version number and exit\n";
print "For additional information, see the MassChroQ Homepage :\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment