Fingerprint SUBSET

This node performs a logic SUBSET operation on a selected binary (bitvector) or count (bytevector) fingerprint column.

The start value is inclusive, i.e. the value is the first bit or byte included in the subset (0-indexed). The end value is the first bit or byte to be excluded. Use '-1' to retrieve to the end of the fingerprint.

If the start index is beyond the end of the fingerprint, a zero-length fingerprint is returned

Examples

Fingerprint '01100110'

Start = 3, End = -1 returns '00110'

Start = 0, End = 3 returns '011'

NB Binary fingerprints are rendered in bigendian format, and so index 0 is the right-most displayed bit, whilst for count fingerprints the counts are in increasing order of index

This node was developed by Vernalis Research. For feedback and more information, please contact knime@vernalis.com

Options

Select the fingerprint column
Select the incoming fingerprint column
Keep input columns
Keep the input fingerprint column in the output table?
Start
The first index to be kept (0-indexed)
End
The first index to be lost, or -1 to run to the end of the fingerprint

Input Ports

Icon
Input table containing two fingerprint columns of the same type. Acceptable fingerprint formats are SparseBitVector, DenseBitVector, SparseByteVector, DenseByteVector.

Output Ports

Icon
Output table with subset fingerprints

Views

This node has no views

Workflows

  • No workflows found

Further Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.