Skip to content

RFLP Picker 1.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 21:57
· 32 commits to main since this release

RFLP Picker 1.4.0

Overview

RFLP Picker 1.4.0 gives dCAPS assays their own settings, fixes several errors found in a review of 1.3.0 and adds a license. Assays with a natural site are the same as in 1.3.0, with one exception described under “Changed results”.

dCAPS

  • dCAPS assays (a mismatch primer that creates the enzyme site in one allele) have their own settings: Tm of both primers up to 70 °C, product 120–300 bp, Δ threshold 20 bp. They are in the “dCAPS” group of the “Advanced” dialog and on the command line: --dcaps-tm-max, --dcaps-prod-min, --dcaps-prod-max, --dcaps-delta.
  • The general Δ threshold, product size and maximum Tm no longer apply to dCAPS assays.
  • On five published forced-RFLP assays, dCAPS for every SNP now finds 3 of 5 (1 of 5 before); with the default settings every one of the five SNPs gets an assay.

Fixes

  • Primer design on Linux and macOS with a decimal-comma system locale (Russian, German and others): Primer3 rejected its parameters and every SNP got “Primer3 error”. Windows was not affected.
  • Genomes whose contigs are named chr1, chr2, … work without a chromosome name mapping file; before, every SNP was rejected as bad_chrom. The chr prefix is removed only at the start of a chromosome name.
  • Command line: a missing folder of --out or --rejected is reported before the analysis starts. An unreadable FASTA or a failed save gives a one-line message and the new exit code 1 instead of a traceback. A warning is printed when no SNP is accepted.
  • The Rejected sheet and the --rejected file hold the input line number of every rejected variant.
  • A window closed during an analysis waits for the analysis to stop instead of closing after five seconds regardless.

Changed results

  • Known-variants VCF: contig names are matched with and without the chr prefix. A VCF with chr1 for a genome with 1 (or the reverse) used to be ignored silently and is now applied, so assays whose cuts are changed by known variants are flagged and excluded for such inputs.
  • A chromosome name with chr in the middle (scaffold_chr5) is no longer changed to scaffold_5. An input or mapping file that relied on that has to be corrected.
  • With dCAPS “for every SNP”, more dCAPS assays are found and ranked together with the ordinary ones.

Unchanged

  • On the sheep genome ARS-UI_Ramb_v2.0 (60 SNPs and 100 random SNPs with edge cases, 7 parameter profiles, tools/regression.py) all result rows equal those of 1.3.0; the only report difference is the line number of rejected variants.
  • The parameters and results of 1.1.0 are reproduced with the “As in v1.1.0” button or rflp_cli.py --preset v1.1.

Project

  • License: GNU GPL version 3 or later. The program uses PyQt6 (GPL v3) and Primer3 (GPL v2 or later).
  • The tests run on Ubuntu and Windows with Python 3.11–3.14 and under a Russian locale.
  • The Windows archive is built by GitHub Actions from the tag with pinned library versions (requirements-build.txt).

Download and requirements

  • RFLP-Picker-v1.4.0-windows-x64.zip for Windows 10 and 11, 64-bit. Unpack the whole archive and run RFLP-Picker.exe; the _internal and names folders must stay next to it. Python is not required.
  • The reference genome FASTA is not included; choose it in the program.
  • SHA-256 of the archive: 5f573349761d25d642e9c8b2dcf87e3f203bc7a08446dd54fe1c4d461412272a

Documentation: README · Algorithm description (in Russian) · Changes (in Russian)


RFLP Picker 1.4.0 (на русском)

Обзор

В RFLP Picker 1.4.0 у схем dCAPS появились свои настройки, исправлены ошибки, найденные при обзоре 1.3.0, и добавлена лицензия. Схемы с природным сайтом те же, что в 1.3.0, с одним исключением — см. «Изменения результатов».

dCAPS

  • У схем dCAPS (праймер с несовпадением, создающий сайт фермента в одном аллеле) свои настройки: Tm обоих праймеров до 70 °C, продукт 120–300 п.н., порог Δ 20 п.н. Они находятся в группе «dCAPS» окна «Дополнительно» и в командной строке: --dcaps-tm-max, --dcaps-prod-min, --dcaps-prod-max, --dcaps-delta.
  • Общие порог Δ, размер продукта и максимальный Tm на схемы dCAPS больше не действуют.
  • На пяти опубликованных forced-RFLP dCAPS «для каждого SNP» находит 3 из 5 (было 1 из 5); с настройками по умолчанию схема есть у всех пяти SNP.

Исправления

  • Подбор праймеров в Linux и macOS при системной локали с десятичной запятой (русская, немецкая и др.): Primer3 отвергал параметры, и каждый SNP получал «Ошибка Primer3». В Windows ошибки не было.
  • Геномы с контигами chr1, chr2, … работают без файла соответствий названий хромосом; раньше все SNP отклонялись как bad_chrom. Префикс chr снимается только в начале названия хромосомы.
  • Командная строка: о несуществующей папке --out или --rejected сообщается до начала расчёта. Нечитаемый FASTA или ошибка записи дают одну строку сообщения и новый код возврата 1 вместо трассировки. Если не принят ни один SNP, выводится предупреждение.
  • На листе Rejected и в файле --rejected у каждого отклонённого варианта указан номер строки входного файла.
  • Окно, закрытое во время расчёта, ждёт остановки расчёта, а не закрывается через пять секунд в любом случае.

Изменения результатов

  • VCF известных вариантов: названия контигов сопоставляются и с префиксом chr, и без него. VCF с chr1 при геноме с 1 (или наоборот) раньше молча не учитывался, теперь учитывается: для таких данных схемы, где известные варианты меняют разрезы, отмечаются и исключаются.
  • Название хромосомы с chr в середине (scaffold_chr5) больше не превращается в scaffold_5. Входной файл или файл соответствий, которые на это опирались, нужно поправить.
  • В режиме dCAPS «Для каждого SNP» схем dCAPS находится больше, и они ранжируются вместе с обычными.

Без изменений

  • На геноме овцы ARS-UI_Ramb_v2.0 (60 SNP и 100 случайных SNP с краевыми случаями, 7 профилей параметров, tools/regression.py) все строки результатов совпадают с 1.3.0; в отчёте отличается только номер строки отклонённых вариантов.
  • Параметры и результаты 1.1.0 воспроизводятся кнопкой «Как в v1.1.0» или rflp_cli.py --preset v1.1.

Проект

  • Лицензия: GNU GPL версии 3 или более поздней. Программа использует PyQt6 (GPL v3) и Primer3 (GPL v2 или более поздней).
  • Тесты запускаются в Ubuntu и Windows на Python 3.11–3.14 и в русской локали.
  • Архив для Windows собирается в GitHub Actions по тегу из закреплённых версий библиотек (requirements-build.txt).

Загрузка и требования

  • RFLP-Picker-v1.4.0-windows-x64.zip для Windows 10 и 11, 64 бит. Распакуйте весь архив и запустите RFLP-Picker.exe; папки _internal и names должны оставаться рядом с ним. Python не требуется.
  • Референсный FASTA в архив не входит; он выбирается в программе.
  • SHA-256 архива: 5f573349761d25d642e9c8b2dcf87e3f203bc7a08446dd54fe1c4d461412272a

Документация: README · Описание алгоритма · Изменения