Merge pull request #1314 from broadinstitute/yf_output_more_information_and_fix_copywrite_date
Output more information and fix copyright date
This commit is contained in:
commit
2baf7d8c4e
|
|
@ -26,6 +26,7 @@
|
|||
package org.broadinstitute.gatk.engine;
|
||||
|
||||
import htsjdk.samtools.SAMException;
|
||||
import htsjdk.samtools.util.zip.DeflaterFactory;
|
||||
import htsjdk.tribble.TribbleException;
|
||||
import org.broadinstitute.gatk.utils.commandline.Argument;
|
||||
import org.broadinstitute.gatk.utils.commandline.ArgumentCollection;
|
||||
|
|
@ -38,6 +39,7 @@ import org.broadinstitute.gatk.utils.exceptions.UserException;
|
|||
import org.broadinstitute.gatk.utils.help.*;
|
||||
import org.broadinstitute.gatk.utils.text.TextFormattingUtils;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
|
|
@ -169,8 +171,18 @@ public class CommandLineGATK extends CommandLineExecutable {
|
|||
public static List<String> createApplicationHeader() {
|
||||
List<String> header = new ArrayList<String>();
|
||||
header.add(String.format("The Genome Analysis Toolkit (GATK) v%s, Compiled %s",getVersionNumber(), getBuildTime()));
|
||||
header.add("Copyright (c) 2010 The Broad Institute");
|
||||
header.add("Copyright (c) 2010-2016 The Broad Institute");
|
||||
header.add("For support and documentation go to " + HelpConstants.BASE_GATK_URL);
|
||||
try {
|
||||
header.add("[" + new Date() + "] Executing on " +
|
||||
System.getProperty("os.name") + " " + System.getProperty("os.version") +
|
||||
" " + System.getProperty("os.arch"));
|
||||
header.add( System.getProperty("java.vm.name") +
|
||||
" " + System.getProperty("java.runtime.version") +
|
||||
" " + (DeflaterFactory.usingIntelDeflater()? "IntelDeflater": "JdkDeflater"));
|
||||
}
|
||||
catch (Exception e) { /* Unpossible! */ }
|
||||
|
||||
return header;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue