obisplit
: Splits a sequence file in a set of subfiles¶
obisplit
splits the input sequence file in a set of subfiles
according to the values of a given attribute. The generated subfiles are named
after the values of the attribute, possibly preceded by a prefix
(-p
option). The sequence records for which the attribute is missing are discarded by default, or
put in a file whose name is set using the -u
option.
Example:
> obisplit -p experiment_ -t modeThe above command splits the sequence input file according to the
mode
attribute. This attribute is created by thesolexapairend
tool and its value can be set to eitherjoined
oralignment
. The prefixexperiment_
is put before each subfile name. Two subfiles will thus be created:experiment_joined
andexperiment_alignment
.
obisplit
specific options¶
-
-p
<PREFIX FILENAME>
,
--prefix
=<PREFIX FILENAME>
¶ Prefix added to each subfile name.
-
-t
<KEY>
,
--tag-name
=<KEY>
¶ Attribute key used to split the sequence file.
-
-u
<FILENAME>
,
--undefined
=<FILENAME>
¶ Name of the file where sequence records without attribute
<KEY>
are stored.
Options to specify input format¶
Restrict the analysis to a sub-part of the input file¶
-
--skip
<N>
¶ The N first sequence records of the file are discarded from the analysis and not reported to the output file
-
--only
<N>
¶ Only the N next sequence records of the file are analyzed. The following sequences in the file are neither analyzed, neither reported to the output file. This option can be used conjointly with the –skip option.