-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
417 additions
and
299 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
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
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
File renamed without changes.
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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
import argparse | ||
parser = argparse.ArgumentParser(description="Process multiomics RNA data.") | ||
parser.add_argument('--rna', type=str, help='Path to the multiomics RNA file') | ||
parser.add_argument('--prediction', type=str, help='Path to the prediction file') | ||
parser.add_argument('--tf_all', type=str, help='Path to the tf_all') | ||
parser.add_argument('--num_workers', type=str, help='Number of cores') | ||
parser.add_argument('--max_n_links', type=str, help='Number of top links to retain') | ||
|
||
args = parser.parse_args() | ||
|
||
if args.max_n_links: | ||
par['max_n_links'] = int(args.max_n_links) | ||
|
||
if args.rna: | ||
par['rna'] = args.rna | ||
if args.prediction: | ||
par['prediction'] = args.prediction | ||
if args.tf_all: | ||
par['tf_all'] = args.tf_all | ||
if args.num_workers: | ||
par['num_workers'] = args.num_workers | ||
|
||
os.makedirs(par['temp_dir'], exist_ok=True) | ||
|
||
meta = { | ||
'resources_dir': 'src/utils' | ||
} | ||
sys.path.append(meta["resources_dir"]) |
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
Oops, something went wrong.