<commit_before>COPY (
SELECT
    hits.upi,
    hits.rfam_model_id,
    score,
    e_value,
    sequence_start,
    sequence_stop,
    model_start,
    model_stop,
    models.long_name
FROM rfam_model_hits hits
JOIN rna_active active ON active.upi = hits.upi
JOIN rfam_models models ON models.rfam_model_id = hits.rfam_model_id
ORDER BY hits.upi, hits.sequence_start, hits.rfam_model_id
) TO STDOUT<commit_msg>Only export Rfam annotations for active sequences<commit_after>COPY (
SELECT
    hits.upi,
    hits.rfam_model_id,
    score,
    e_value,
    sequence_start,
    sequence_stop,
    model_start,
    model_stop,
    models.long_name
FROM rfam_model_hits hits
JOIN rnc_rna_precomputed pre on pre.upi = hits.upi and taxid is null
JOIN rfam_models models ON models.rfam_model_id = hits.rfam_model_id
WHERE
    pre.is_active = true
ORDER BY hits.upi, hits.sequence_start, hits.rfam_model_id
) TO STDOUT
{'fraction_non_alphanumeric': 0.06181015452538632, 'fraction_numerical': 0.0, 'mean_word_length': 3.9293478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '921522', 'n_tokens_mistral': 344, 'n_tokens_neox': 343, 'n_words': 78}