-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed #22 - not sorting the matrix by default
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
InterVene: a tool for intersection and visualization of multiple genomic region sets | ||
Intervene: a tool for intersection and visualization of multiple genomic region sets | ||
Created on January 10, 2017 | ||
@author: <Aziz Khan>[email protected] | ||
""" | ||
|
@@ -22,6 +22,7 @@ | |
from intervene import helpers | ||
|
||
|
||
#parts of the code is adopted from pybedtools | ||
def get_name(fname): | ||
return op.splitext(op.basename(fname))[0] | ||
|
||
|
@@ -423,7 +424,9 @@ def pairwise_intersection(label_names, options): | |
#if options.verbose: | ||
# sys.stderr.write('Time to construct %s x %s matrix: %.1fs' \ | ||
# % (nfiles, nfiles, (t1 - t0)) + '\n') | ||
keys = sorted(matrix.keys()) | ||
## Keyes were sorted until version 0.6.4 | ||
#keys = sorted(matrix.keys()) | ||
keys = matrix.keys() | ||
|
||
matrix_file = options.output+'/'+str(options.project)+'_'+options.command+'_'+options.compute+'_matrix.txt' | ||
|
||
|