# HG changeset patch # User jackcurragh # Date 1652796040 0 # Node ID 06c2eaff31e552ca65c523ff7bcebd381a75d012 # Parent f87a4b64e6ef7415f5d7f7457cf725d20461719d Uploaded diff -r f87a4b64e6ef -r 06c2eaff31e5 get_chrom_sizes/calculating_chrom.sizes.py --- a/get_chrom_sizes/calculating_chrom.sizes.py Tue May 17 13:57:39 2022 +0000 +++ b/get_chrom_sizes/calculating_chrom.sizes.py Tue May 17 14:00:40 2022 +0000 @@ -4,16 +4,16 @@ # 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[4]) -builtin = str(argv[5]) +# output = str(argv[3]) +genome = str(argv[3]) +builtin = str(argv[4]) # genome = 'test-data/test.fasta' # output = "test-data/test_chrom.sizes" if fasta_source == 'builtin': genome = builtin -chromSizesoutput = open(output,"w") +chromSizesoutput = open('output',"w") records = [] record = False