Mercurial > repos > dfornika > micall_lite
comparison amino2consensus.py @ 18:43a987c03ec5 draft
planemo upload for repository https://github.com/dfornika/galaxytools/tree/master/tools/micall-lite commit 822e7e1c2de31a72c2a13bcc15b9df06b699561f-dirty
| author | dfornika |
|---|---|
| date | Wed, 25 Sep 2019 18:28:54 -0400 |
| parents | 61667ff2c8b5 |
| children | 8e6d3de9c7fa |
comparison
equal
deleted
inserted
replaced
| 17:6043d06d78cb | 18:43a987c03ec5 |
|---|---|
| 18 else: | 18 else: |
| 19 amino = "@" | 19 amino = "@" |
| 20 return amino | 20 return amino |
| 21 | 21 |
| 22 def determine_first_region(amino_file): | 22 def determine_first_region(amino_file): |
| 23 with open(amino_file, newline='') as f: | 23 with open(amino_file) as f: |
| 24 reader = csv.DictReader(f) | 24 reader = csv.DictReader(f) |
| 25 row = next(reader) | 25 row = next(reader) |
| 26 region = row['region'] | 26 region = row['region'] |
| 27 return region | 27 return region |
| 28 | 28 |
