@DocumentedFeature public class RenameSampleInVcf extends CommandLineProgram
java -jar picard.jar RenameSampleInVcf \
INPUT=input_variants.vcf \
OUTPUT=output_variants.vcf \
NEW_SAMPLE_NAME=sample
| Modifier and Type | Field | Description |
|---|---|---|
File |
INPUT |
|
String |
NEW_SAMPLE_NAME |
|
String |
OLD_SAMPLE_NAME |
|
File |
OUTPUT |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITY| Constructor | Description |
|---|---|
RenameSampleInVcf() |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
doWork() |
Do the work after command line has been parsed.
|
static void |
main(String[] args) |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser@Argument(shortName="I",
doc="Input single sample VCF or BCF file.")
public File INPUT
@Argument(shortName="O",
doc="Output single sample VCF.")
public File OUTPUT
@Argument(doc="Existing name of sample in VCF; if provided, asserts that that is the name of the extant sample name",
optional=true)
public String OLD_SAMPLE_NAME
@Argument(doc="New name to give sample in output VCF.") public String NEW_SAMPLE_NAME
public static void main(String[] args)
protected int doWork()
CommandLineProgramdoWork in class CommandLineProgram