hi,
ein Auszug aus der Datei:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
Seq: 746 WRWRWRWW 753
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
Seq: 744 WRWRWRW 750
dbj|BAD87001.1|-->hypothetical protein [Oryza sativa (japonica cultivar-group)] dbj|BAD86933.1| hypothetical protein [Oryza sativa (japonica cultivar-group)]
Seq: 51 WRWRWRWW 58
dbj|BAD87001.1|-->hypothetical protein [Oryza sativa (japonica cultivar-group)] dbj|BAD86933.1| hypothetical protein [Oryza sativa (japonica cultivar-group)]
Seq: 49 WRWRWRW 55
gb|AAX96019.1|-->hypothetical protein LOC_Os11g07590 [Oryza sativa (japonica cultivar-group)] gb|ABA91724.1| hypothetical protein LOC_Os11g07590 [Oryza sativa (japonica cultivar-group)]
Seq: 77 WWWRRRWW 84
ref|XP_463574.1|-->P0497A05.2 [Oryza sativa (japonica cultivar-group)] dbj|BAB92559.1| P0497A05.2 [Oryza sativa (japonica cultivar-group)]
Seq: 124 WRWRWRWW 131
ref|XP_720804.1|-->hypothetical protein CaO19_13829 [Candida albicans SC5314] gb|EAL01978.1| hypothetical protein CaO19.13829 [Candida albicans SC5314]
Seq: 28 WWKWRW 33
dbj|BAE44752.1|-->hypothetical protein [Candida albicans] ref|XP_721316.1| hypothetical protein CaO19.6475 [Candida albicans SC5314] gb|EAL02511.1| hypothetical protein CaO19.6475 [Candida albicans SC5314] ref|XP_888855.1| hypothetical protein CaJ7.0276 [Candida albicans SC5314]
Seq: 28 WWKWRW 33
ref|ZP_00245446.1|-->COG0665: Glycine/D-amino acid oxidases (deaminating) [Rubrivivax gelatinosus PM1]
Seq: 86 WRWLWRWW 93
gb|AAM90664.1|-->putative pyruvate kinase [Deschampsia antarctica]
Seq: 11 WWKWWLRRWW 20
gb|AAM90664.1|-->putative pyruvate kinase [Deschampsia antarctica]
Seq: 19 WWKWWLRRWW 28
gb|AAM90664.1|-->putative pyruvate kinase [Deschampsia antarctica]
Seq: 6 WWLRRWW 12
schlussendlich sollte die Datei dann folgendermassen aussehen:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
Seq: 746 WRWRWRWW 753
Seq: 744 WRWRWRW 750
dbj|BAD87001.1|-->hypothetical protein [Oryza sativa (japonica cultivar-group)] dbj|BAD86933.1| hypothetical protein [Oryza sativa (japonica cultivar-group)]
Seq: 51 WRWRWRWW 58
Seq: 49 WRWRWRW 55
gb|AAX96019.1|-->hypothetical protein LOC_Os11g07590 [Oryza sativa (japonica cultivar-group)] gb|ABA91724.1| hypothetical protein LOC_Os11g07590 [Oryza sativa (japonica cultivar-group)]
Seq: 77 WWWRRRWW 84
ref|XP_463574.1|-->P0497A05.2 [Oryza sativa (japonica cultivar-group)] dbj|BAB92559.1| P0497A05.2 [Oryza sativa (japonica cultivar-group)]
Seq: 124 WRWRWRWW 131
ref|XP_720804.1|-->hypothetical protein CaO19_13829 [Candida albicans SC5314] gb|EAL01978.1| hypothetical protein CaO19.13829 [Candida albicans SC5314]
Seq: 28 WWKWRW 33
dbj|BAE44752.1|-->hypothetical protein [Candida albicans] ref|XP_721316.1| hypothetical protein CaO19.6475 [Candida albicans SC5314] gb|EAL02511.1| hypothetical protein CaO19.6475 [Candida albicans SC5314] ref|XP_888855.1| hypothetical protein CaJ7.0276 [Candida albicans SC5314]
Seq: 28 WWKWRW 33
ref|ZP_00245446.1|-->COG0665: Glycine/D-amino acid oxidases (deaminating) [Rubrivivax gelatinosus PM1]
Seq: 86 WRWLWRWW 93
gb|AAM90664.1|-->putative pyruvate kinase [Deschampsia antarctica]
Seq: 11 WWKWWLRRWW 20
Seq: 19 WWKWWLRRWW 28
Seq: 6 WWLRRWW 12
hab mir die Zeilen auch ausgeben lassen, die stimmen, da steht genau das drinnen was drinnen sein sollte, jedoch uebergeht es die if bedingung...
Output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
opened file and stored content in array
intialized variables unique
entered for loop
trying to perform 1 if
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
Seq: 746 WRWRWRWW 753
Seq: 744 WRWRWRW 750
increased variables
entered for loop
trying to perform 1 if
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
dbj|BAD87001.1|-->hypothetical protein [Oryza sativa (japonica cultivar-group)] dbj|BAD86933.1| hypothetical protein [Oryza sativa (japonica cultivar-group)]
Seq: 744 WRWRWRW 750
Seq: 51 WRWRWRWW 58
increased variables
entered for loop
trying to perform 1 if
ref|XP_473071.1|-->OSJNBa0014K14.2 [Oryza sativa (japonica cultivar-group)] emb|CAE02929.3| OSJNBa0014K14.1 [Oryza sativa (japonica cultivar-group)]
dbj|BAD87001.1|-->hypothetical protein [Oryza sativa (japonica cultivar-group)] dbj|BAD86933.1| hypothetical protein [Oryza sativa (japonica cultivar-group)]
Seq: 51 WRWRWRWW 58
Seq: 49 WRWRWRW 55
increased variables
ich hab keine Ahnung wieso er mir nicht in die if bedingung reingeht...
Danke