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
APS156finalpile.py
import glob
import os
pileupList = glob.glob('*.pileup.fasta')
file = open('APS156_finalpile', 'w+')
i = 0
for pileup in pileupList:
size = os.stat(pileup).st_size
if size != 0:
pilestr = pileup.split('.')
file.write(pilestr[0]+"\n")
i = i + 1
file.close()
print(str(i))
##also remove ERR907282
Computing file changes ...