Skip to content

Instantly share code, notes, and snippets.

@JohnAh
Created April 20, 2014 13:56
Show Gist options
  • Save JohnAh/11114722 to your computer and use it in GitHub Desktop.
Save JohnAh/11114722 to your computer and use it in GitHub Desktop.
fh=open('reg.fa','r')
c=fh.readlines()
fh.close()
s=''
for i in range(0,(len(c))):
s=s+c[i]
lines=s.split('\n')
for line in s:
s=s.replace('\n','')
s=s.replace('\n','')
print s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment