From e0ad2706e96f2a777fd26777e91d2333ef2c610c Mon Sep 17 00:00:00 2001 From: Nicolas MANOSALVA PEREZ Date: Thu, 21 Sep 2023 10:38:31 +0200 Subject: [PATCH] remove comment miniac_gw script getStats process --- workflows/miniac_gw.nf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/workflows/miniac_gw.nf b/workflows/miniac_gw.nf index 16c61bb..62f3533 100755 --- a/workflows/miniac_gw.nf +++ b/workflows/miniac_gw.nf @@ -51,12 +51,6 @@ process getStats { script: """ - #bedmap --delim '\t' --fraction-ref 0.5 --echo --echo-map-id --skip-unmapped $gw_motmaps $shuffled_real_acr | awk '{n=split(\$0,a,";"); split(a[1],b,"\t"); print b[4], b[5]} n>1 {for (i=2;i<=n;i++) print b[4], a[i]}' | sort | uniq -c > ${shuffled_real_acr.baseName}_motif_int_data.txt - - #bedmap --delim '\t' --fraction-either 0.5 --echo --echo-map-id --skip-unmapped $gw_motmaps $shuffled_real_acr | awk '{n=split(\$0,a,";"); split(a[1],b,"\t"); print b[4], b[5]} n>1 {for (i=2;i<=n;i++) print b[4], a[i]}' | sort | uniq -c > ${shuffled_real_acr.baseName}_motif_int_data.txt - - #bedmap --delim '\t' --bp-ovr 5 --echo --echo-map-id --skip-unmapped $gw_motmaps $shuffled_real_acr | awk '{n=split(\$0,a,";"); split(a[1],b,"\t"); print b[4], b[5]} n>1 {for (i=2;i<=n;i++) print b[4], a[i]}' | sort | uniq -c > ${shuffled_real_acr.baseName}_motif_int_data.txt - bedmap --delim '\t' --echo --echo-map-id --skip-unmapped $gw_motmaps $shuffled_real_acr | awk '{n=split(\$0,a,";"); split(a[1],b,"\t"); print b[4], b[5]} n>1 {for (i=2;i<=n;i++) print b[4], a[i]}' | sort | uniq -c > ${shuffled_real_acr.baseName}_motif_int_data.txt num_peaks=\$(grep -c "real_ints" $shuffled_real_acr)