scripts/preprocessing/relabel_seed.py
def validate_sequences(seed_sequence, extracted_full_seq, rnac=True):
    """
    Validates whether the SEED sequence matches the sequence
    extracted at specific coordinates

    seed_sequence: A DNA/RNA sequecne extracted from the SEED alignment
    extracted_full: A DNA/RNA subsequence extracted at specific locations

    return: True if the sequences match, False otherwise. Returns False by default
    """

    new_seed_sequence = seed_sequence

    if rnac is False:
        new_seed_sequence = seed_sequence.replace('U', 'T')

    if extracted_full_seq.find(new_seed_sequence) != -1:
        return True

    return False

    Validates whether the SEED sequence matches the sequence
    extracted at specific coordinates

    seed_sequence: A DNA/RNA sequecne extracted from the SEED alignment
    extracted_full: A DNA/RNA subsequence extracted at specific locations

    return: True if the sequences match, False otherwise. Returns False by default
    
Validates whether the SEED sequence matches the sequence
extracted at specific coordinates

A DNA/RNA sequecne extracted from the SEED alignment
extracted_full: A DNA/RNA subsequence extracted at specific locations

True if the sequences match, False otherwise. Returns False by default
Validates whether the SEED sequence matches the sequence extracted at specific coordinates A DNA / RNA sequecne extracted from the SEED alignment extracted_full : A DNA / RNA subsequence extracted at specific locations True if the sequences match False otherwise . Returns False by default
def validate_sequences(seed_sequence, extracted_full_seq, rnac=True):
    new_seed_sequence = seed_sequence
    if rnac is False:
        new_seed_sequence = seed_sequence.replace('U', 'T')
    if extracted_full_seq.find(new_seed_sequence) != -1:
        return True
    return False
def validate_sequences ( seed_sequence , extracted_full_seq , rnac = True ) : new_seed_sequence = seed_sequence if rnac is False : new_seed_sequence = seed_sequence . replace ( 'U' , 'T' ) if extracted_full_seq . find ( new_seed_sequence ) != - 1 : return True return False
Validates whether the SEED sequence matches the sequence
extracted at specific coordinates
Validates whether the SEED sequence matches the sequence extracted at specific coordinates
"""
    Validates whether the SEED sequence matches the sequence
    extracted at specific coordinates

    seed_sequence: A DNA/RNA sequecne extracted from the SEED alignment
    extracted_full: A DNA/RNA subsequence extracted at specific locations

    return: True if the sequences match, False otherwise. Returns False by default
    """
seed_sequence
extracted_full_seq
rnac