Commit 1839d3e2dbb95e8de9ebbc7c1d37a96d7aea4d7e

Authored by Gabrielle DF
1 parent dfbbb3e6
Exists in master and in 1 other branch coco_dev

corrected UCSC chrM compatibility

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
bin/correct_bg.py
... ... @@ -156,5 +156,5 @@ def genome_cov(output_dir, temp_dir, output, genomepath, ucsc):
156 156 else:
157 157 add_chr = "awk 'NR == 1 { print; OFS=\"\t\" } NR > 1 {$1 = \"chr\" $1; print }' %s > %s.tmp && mv %s.tmp %s"%(output, output, output, output)
158 158 os.system(add_chr)
159   - sedM = "sed -i 's/chrM\t/chrMT\t/' %s"%output
  159 + sedM = "sed -i 's/chrMT\t/chrM\t/' %s"%output
160 160 os.system(sedM)
... ...