You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thanks for building such a useful one-stop pipeline.
I found a small bug in the prep_mappability.sh script, line 196: CMD="grep $CHR $OUTD/$MER.bedGraph | awk '\$4==1 {print \$2,\$3}' > $OUTFN"
When the loop goes to chr1, this line will grep not only chr1, but also chr10-chr19. Same for chr2. It will lead to malformated mappability files.
I suggest change the code to: CMD="grep '$CHR\b' $OUTD/$MER.bedGraph | awk '\$4==1 {print \$2,\$3}' > $OUTFN"
which can make it match exactly chr1.
Best
Yang
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for building such a useful one-stop pipeline.
I found a small bug in the prep_mappability.sh script, line 196:
CMD="grep $CHR $OUTD/$MER.bedGraph | awk '\$4==1 {print \$2,\$3}' > $OUTFN"
When the loop goes to chr1, this line will grep not only chr1, but also chr10-chr19. Same for chr2. It will lead to malformated mappability files.
I suggest change the code to:
CMD="grep '$CHR\b' $OUTD/$MER.bedGraph | awk '\$4==1 {print \$2,\$3}' > $OUTFN"
which can make it match exactly chr1.
Best
Yang
The text was updated successfully, but these errors were encountered: