Category

Sam/Bam Manipulation


Usage

java -jar picard.jar -Sequence name (SN) -Start position (1-based)** -End position (1-based, end inclusive) -Strand (either + or -) -Interval name (ideally unique names for intervals)


Manual

INPUT (File)    One or more interval lists. If multiple interval lists are provided the output is theresult of merging the inputs. Supported formats are interval_list and VCF. Default value: null. This option must be specified at least 1 times.
OUTPUT (File)    The output interval list file to write (if SCATTER_COUNT is 1) or the directory into which to write the scattered interval sub-directories (if SCATTER_COUNT > 1) Default value: null.
PADDING (Integer)    The amount to pad each end of the intervals by before other operations are undertaken. Negative numbers are allowed and indicate intervals should be shrunk. Resulting intervals before the ACTION is performed. Default value: 0. This option can be set to 'null' to clear the default value.
UNIQUE (Boolean)    If true, merge overlapping and adjacent intervals to create a list of unique intervals. Implies SORT=true Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
SORT (Boolean)    If true, sort the resulting interval list by coordinate. Default value: true. This option can be set to 'null' to clear the default value. Possible values: {true, false}
ACTION (Action)    Action to take on inputs. Default value: CONCAT. This option can be set to 'null' to clear the default value. Possible values: { CONCAT (The concatenation of all the INPUTs, no sorting or merging of overlapping/abutting intervals implied. Will result in an unsorted list unless requested otherwise.) UNION (Like CONCATENATE but with UNIQUE and SORT implied, the result being the set-wise union of all INPUTS.) INTERSECT (The sorted, uniqued set of all loci that are contained in all of the INPUTs.) SUBTRACT (Subtracts SECOND_INPUT from INPUT. The resulting loci are there in INPUT that are not in SECOND_INPUT) SYMDIFF (Find loci that are in INPUT or SECOND_INPUT but are not in both.) }
SECOND_INPUT (File)    Second set of intervals for SUBTRACT and DIFFERENCE operations. Default value: null. This option may be specified 0 or more times.
COMMENT (String)    One or more lines of comment to add to the header of the output file. Default value: null. This option may be specified 0 or more times.
SCATTER_COUNT (Integer)    The number of files into which to scatter the resulting list by locus; in some situations, fewer intervals may be emitted. Note - if > 1, the resultant scattered intervals will be sorted and uniqued. The sort will be inverted if the INVERT flag is set. Default value: 1. This option can be set to 'null' to clear the default value.
INCLUDE_FILTERED (Boolean)    Whether to include filtered variants in the vcf when generating an interval list from vcf Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
BREAK_BANDS_AT_MULTIPLES_OF (Integer)    If set to a positive value will create a new interval list with the original intervals broken up at integer multiples of this value. Set to 0 to NOT break up intervals Default value: 0. This option can be set to 'null' to clear the default value.
SUBDIVISION_MODE (Mode)    Do not subdivide Default value: INTERVAL_SUBDIVISION. This option can be set to 'null' to clear the default value. Possible values: {INTERVAL_SUBDIVISION, BALANCING_WITHOUT_INTERVAL_SUBDIVISION, BALANCING_WITHOUT_INTERVAL_SUBDIVISION_WITH_OVERFLOW}
INVERT (Boolean)    Produce the inverse list Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}


Share your experience or ask a question