0.1.23#
What’s New?#
Added
vf.pp.finalizingVerkkoFilletObj()— a one-stop helper that finalizes aVerkkoFilletobject by marking main contigs (keepContig), filtering short disconnected nodes (checkDisconnectNode), retaining nodes in unresolved gap regions (keepNodesInUnresolvedGaps), and refreshing connections (updateConnect).Added a command-line driver script:
src/verkkofillet/bin/automatic_script.py. Runs the standard QC/assignment/telomere pipeline end-to-end given--verkkoDir,--ref,--map_file, and an optional--internal_tel_threshold.
Key Modifications#
vf.tl.convertRefName()now produces a bgzipped FASTA (*.rename.fa.gz) and delegates the renaming tochangeChrName.shfor consistent behavior withvf.tl.renameContig().changeChrName.shnow supports gzipped input FASTA (auto-decompresses) and always emits a bgzipped, samtools-indexed output FASTA.getChrNames.shnow skips the mashmap step whenunitigs.hpc.mashmap.rawalready exists, avoiding redundant re-runs. The HiC-pipeline branch threshold was lowered from$11 >= 50000to$11 >= 10000.vf.pp.find_intra_telo()now returns a clean, fixed column ordering:contig, distal-left, distal-right, internal-left, internal-right, problem, ref_chr, contig_len, ref_chr_len, hap, old_chr, completeness, hap_verkko, t2tStat.
Plotting#
Default saved figure format changed from PNG to PDF for
n50Plot,qvPlot,completePlot,contigLenPlot,contigPlot,showMashmapOri,nodeMashmapBlockSize,percTel,plotHist_readOnNode, andreadOnNode.Added a
force=Falseparameter to the above plotting functions; whenTrue, an existing figure file is overwritten instead of being skipped.All plot-saving calls now use
bbox_inches='tight', pad_inches=0.1to avoid clipped labels.Suppressed noisy
fontToolsINFO logs in_baseQC.
Fixes and Updates#
vf.tl.renameContig()now validates the chromosome map file and aborts with a clear message ifcontigornew_contig_namecontains duplicates.Tutorial
how_to_run_verkko_cns.mdupdated: clarifies that the final path file isoutDir/6-layoutContigs/consensus_paths.txt, reminds users to confirm gap-filled paths are present, and notes that since Verkko 2.3--hifi/--ontare auto-detected.