Skip to content
Snippets Groups Projects
Commit 7e29e0dd authored by Samuel Mondal's avatar Samuel Mondal
Browse files

indentation change

parent eb56c36f
Branches
No related tags found
1 merge request!13indentation change
......@@ -2,14 +2,12 @@ def exon_concatenation:
fa = open("fasta.fa",'r')
lines = fa.readlines()
for x in range(int(len(lines)/2)):
if x == 0:
annotation = lines[0]
read = lines[1]
if x >= 1:
if lines[2*x] == lines[2*(x-1)]:
read+= lines[(2*x)+1]
else:
return annotation
return read
annotation = lines[2*x]
read = lines[(2*x)+1]
if x == 0:
annotation = lines[0]
read = lines[1]
if x >= 1:
if lines[2*x] == lines[2*(x-1)]:
read+= lines[(2*x)+1]
else:
annotation = lines[2*x]
read = lines[(2*x)+1]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment