Revision 3a78098f11e03b0136e9f4bb3aa587d528f08d3f authored by Asher Preska Steinberg on 09 February 2021, 19:22:11 UTC, committed by Asher Preska Steinberg on 09 February 2021, 19:22:11 UTC
1 parent a3cece3
APS156_zipList.py
import glob
import os
tarList = glob.glob('*_1.fastq.gz')
file = open('APS156_scratch_zips', 'w+')
i = 0
for tar in tarList:
# size = os.stat(tar).st_size
tarstr = tar.split('_1.')
file.write(tarstr[0]+"\n")
i = i+1
file.close()
print(str(i))
Computing file changes ...