Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/VIB-PSB/MINI-AC
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas MANOSALVA PEREZ committed May 13, 2024
2 parents 2529b67 + da1b4dd commit 4615ed9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions workflows/miniac_gw.nf
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,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)
Expand Down

0 comments on commit 4615ed9

Please sign in to comment.