obicomplement: reverse-complements sequences¶
obicomplement reverse-complements the sequence records.
Tip
The identifiers of the sequence records are modified by appending to them the
_CMPsuffix.Tip
a attribute with key
complementedand value sets toTrueis added on each reversed complemented sequence record.
By using the selection option set, it is possible to reverse complement only a subset of the sequence records included in the input file. The selected sequence are reversed complemented, others are stored without modification
Example 1:
> obicomplement seq.fasta > seqRC.fastaReverses complements all sequence records from the
seq.fastafile and stores the result to theseqRC.fastafile.Example 2:
> obicomplement -s 'A{10,}$' seq.fasta > seqRC.fastaReverses complements sequence records from the
seq.fastafile only if they finish by at least 10A. Others sequences are stored without modification.
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.