Identifying complex sequence patterns with a variable-convolutional layer effectively and efficiently