Created
November 17, 2015 03:33
-
-
Save calizarr/c6ef6f716de570eff5a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Works | |
for x in {bed_dir}/*.bed;do y=$(basename ${{x%.*}});sed -- 's/{original}/chr/g' $x > {outdir}/$y.sicer.bed;done;echo Converting to Bed chromosome done | |
# Doesn't work | |
for x in {bed_dir}/*.bed;do y=$(basename ${{x%.*}});sed -- 's/{original}/chr/g' $x > {outdir}/$y.sicer.bed & done;wait;echo Converting to Bed chromosome done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment