Skip to content

Commit 6a629a2

Browse files
committed
tiny fix
1 parent ac4ade3 commit 6a629a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/stats_wrapper.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@
1010
'tag',
1111
help="Variant tag parameter used to run RegTools.",
1212
)
13-
input_parser.add_argument(
14-
'cohort_directory',
15-
help="Path to directory containing cohort files.",
16-
)
1713

1814
args = input_parser.parse_args()
1915

2016
tag = args.tag
21-
cohort_dir = args.cohort_directory
2217

2318
lines_per_file = 50000
2419
smallfile = None
@@ -35,7 +30,7 @@
3530
#get chunks
3631
files = glob.glob('small_file_*')
3732
for file in files:
38-
subprocess.run(f'Rscript --vanilla /home/ec2-user/workspace/regtools/scripts/compare_junctions_hist_v2.R {tag} {cohort_dir}/{file}')
33+
subprocess.run(f'Rscript --vanilla /home/ec2-user/workspace/regtools/scripts/compare_junctions_hist_v2.R {tag} {file}')
3934
output_files = glob.glob("*_out.tsv")
4035
output_files.sort() # glob lacks reliable ordering, so impose your own if output order matters
4136
with open(f'junction_pvalues_{tag}.tsv', 'wb') as outfile:

0 commit comments

Comments
 (0)