Skip to content

Commit

Permalink
attempt to fix bedtools compatability issue
Browse files Browse the repository at this point in the history
  • Loading branch information
photocyte committed Jun 20, 2018
1 parent 52cfe47 commit 9f48d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omgene.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ def prepareGeneregions(dict_seqInfo, dict_genomeInfo, path_wDir, int_numCores, i
path_allBaseLoci = path_gDir + "/" + genomeId + ".bases"
path_mergedBaseLoci = path_gDir + "/" + genomeId + ".bases.merged"
concatFiles(bases_tight, path_allBaseLoci)
callFunction("sort -k1,1V -k4,4n " + path_allBaseLoci + " | bedtools merge -s -i - > " + path_mergedBaseLoci)
callFunction("sort -k1,1V -k4,4n " + path_allBaseLoci + " | bedtools merge -s -c 4,5,6,7 -o distinct,distinct,distinct,distinct -i - > " + path_mergedBaseLoci)
sequences = [copy.deepcopy(a) for a in dict_seqInfo.values() if a["genome"] == path_genome]
for line in readCsv(path_mergedBaseLoci):
# Initialise the generegion in the holder dict
Expand Down

0 comments on commit 9f48d5f

Please sign in to comment.