Skip to content

Commit

Permalink
remove unused files and fix issue with dataprep
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishendra93 committed Apr 23, 2021
1 parent 450671b commit 2e4950b
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 662 deletions.
Empty file removed build/lib/m6anet/__init__.py
Empty file.
Empty file.
381 changes: 0 additions & 381 deletions build/lib/m6anet/scripts/dataprep.py

This file was deleted.

133 changes: 0 additions & 133 deletions build/lib/m6anet/scripts/helper.py

This file was deleted.

Empty file removed build/lib/m6anet/utils/__init__.py
Empty file.
47 changes: 0 additions & 47 deletions build/lib/m6anet/utils/misc.py

This file was deleted.

Binary file removed dist/m6anet-0.0.1-py3.6.egg
Binary file not shown.
Binary file removed dist/m6anet-0.0.1-py3.7.egg
Binary file not shown.
51 changes: 0 additions & 51 deletions m6anet.egg-info/PKG-INFO

This file was deleted.

32 changes: 0 additions & 32 deletions m6anet.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion m6anet.egg-info/dependency_links.txt

This file was deleted.

6 changes: 0 additions & 6 deletions m6anet.egg-info/entry_points.txt

This file was deleted.

8 changes: 0 additions & 8 deletions m6anet.egg-info/requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion m6anet.egg-info/top_level.txt

This file was deleted.

4 changes: 2 additions & 2 deletions m6anet/scripts/dataprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_args():
optional.add_argument('--chunk_size', dest='chunk_size', help='number of lines from nanopolish eventalign.txt for processing.',type=int, default=1000000)
optional.add_argument('--readcount_min', dest='readcount_min', help='minimum read counts per gene.',type=int, default=1)
optional.add_argument('--readcount_max', dest='readcount_max', help='maximum read counts per gene.',type=int, default=1000)
optional.add_argument('--index', dest='index', help='with this argument the program will index eventalign.txt first.',default=False,action='store_false') #todo
optional.add_argument('--index', dest='index', help='with this argument the program will index eventalign.txt first.',default=False,action='store_true')
optional.add_argument('--n_neighbors', dest='n_neighbors', help='number of neighboring features to extract.',type=int, default=NUM_NEIGHBORING_FEATURES)

parser._action_groups.append(optional)
Expand Down Expand Up @@ -373,7 +373,7 @@ def main():
# (1) For each read, combine multiple events aligned to the same positions, the results from nanopolish eventalign, into a single event per position.
eventalign_log_filepath = os.path.join(out_dir,'eventalign.log')
# if not helper.is_successful(eventalign_log_filepath) and not resume: #some slight hack to skip index creation again after it is successful
if index:
if not index:
parallel_index(eventalign_filepath,chunk_size,out_dir,n_processes)
parallel_preprocess_tx(eventalign_filepath,out_dir,n_processes,readcount_min,readcount_max, n_neighbors) #TO DO: RESUME FUNCTION

Expand Down
Binary file removed sample_labels.csv.gz
Binary file not shown.

0 comments on commit 2e4950b

Please sign in to comment.