changeset 21:cc021a23613b draft

Uploaded
author jackcurragh
date Wed, 18 May 2022 08:47:20 +0000
parents 147706e55621
children 48d8d8217ac4
files get_chrom_sizes/calculating_chrom.sizes.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/get_chrom_sizes/calculating_chrom.sizes.py	Wed May 18 08:25:36 2022 +0000
+++ b/get_chrom_sizes/calculating_chrom.sizes.py	Wed May 18 08:47:20 2022 +0000
@@ -4,9 +4,9 @@
 # python calculating_chrom.sizes.py genome_input.fa output.chrom.sizes
 fasta_source = str(argv[1])
 prefix = str(argv[2])
-# output = str(argv[3])
 genome = str(argv[3])
 builtin = str(argv[4])
+output = str(argv[5])
 
 # genome = 'test-data/test.fasta'
 # output = "test-data/test_chrom.sizes"
@@ -30,6 +30,8 @@
 if record not in records:
 	records.append(record)
 
+
+
 for seq_record in records:
 	if prefix != 'none':
 		output_line = f"{prefix}{seq_record[0]}\t{seq_record[1]}\n"