Commit 84a6fd86 authored by Chris Cheshire's avatar Chris Cheshire
Browse files

Switched frip calculation to single thread

parent 7ee75cc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ for idx, bam_file in enumerate(bam_file_list):

    if first_line is not None:
        print("Calculating " + bam_file + " using " + peak_file_list[idx])
        cr = crpb.CountReadsPerBin([bam_file], bedFile=[peak_file_list[idx]], numberOfProcessors=int(args.threads))
        cr = crpb.CountReadsPerBin([bam_file], bedFile=[peak_file_list[idx]], numberOfProcessors=int(1))

        # Calc the total number of reads in peaks per bam file
        reads_at_peaks = cr.run()
+1 −1
Original line number Diff line number Diff line
process CALCULATE_FRIP {
    tag "$meta.id"
    label 'process_high'
    label 'process_low'

    conda (params.enable_conda ? "conda-forge::python=3.8.3 bioconda::deeptools=3.5.* bioconda::pysam=0.17.*" : null)
    container "chrischeshire/nfcore-cutandrun:latest"