leafcutter icon indicating copy to clipboard operation
leafcutter copied to clipboard

Update leafcutter_cluster_regtools.py

Open boxiangliu opened this issue 5 years ago • 1 comments

Changed line 392: refine_cluster() -> if (count/float(totN) >= cutoff and count >= readcutoff): to if (count/float(totN) >= cutoff and totN >= readcutoff):

boxiangliu avatar Jul 24 '20 16:07 boxiangliu

Seconding this issue, @davidaknowles .

As is, leafcutter filters each junction if the per-junction read count is less than --minclureads instead of filtering each cluster if the total number of reads supporting all junctions in a cluster are less than --minclureads.

Based on the command-line help info, this is not the intended behavior.

-m MINCLUREADS, --minclureads=MINCLUREADS
                        minimum reads in a cluster (default 30 reads)

TimD1 avatar Jan 07 '25 21:01 TimD1