obitail
: extracts the last sequence records¶
obitail
command is in some way analog to the standard Unix tail command.
It selects the tail of a sequence file.
But instead of working text line by text line as the standard Unix tool,
selection is done at the sequence record level. You can specify the number of
sequence records to select.
Example:
> obitail -n 150 seq1.fasta > seq2.fasta
Selects the 150 last sequence records from the
seq1.fasta
file and stores them into theseq2.fasta
file.
obitail
specific options¶
-
-n
<INTEGER>
,
--sequence-count
<INTEGER>
¶ Number of sequence records to be selected (default value : 10).
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.