Mercurial > repos > galaxy-australia > alphafold2
comparison validate_fasta.py @ 15:a58f7eb0df2c draft
planemo upload for repository https://github.com/usegalaxy-au/tools-au commit fd45a857a71358e7e5375dcfb5043cdc8560c5a5
| author | galaxy-australia |
|---|---|
| date | Fri, 10 Mar 2023 02:48:07 +0000 |
| parents | d00e15139065 |
| children |
comparison
equal
deleted
inserted
replaced
| 14:d00e15139065 | 15:a58f7eb0df2c |
|---|---|
| 203 # write clean data | 203 # write clean data |
| 204 fw = FastaWriter() | 204 fw = FastaWriter() |
| 205 for fas in clean_fastas: | 205 for fas in clean_fastas: |
| 206 fw.write(fas) | 206 fw.write(fas) |
| 207 | 207 |
| 208 sys.stderr.write("Validated FASTA sequence(s):\n\n") | |
| 209 for fas in clean_fastas: | |
| 210 sys.stderr.write(fas.header + '\n') | |
| 211 sys.stderr.write(fas.aa_seq + '\n\n') | |
| 212 | |
| 208 except ValueError as exc: | 213 except ValueError as exc: |
| 209 sys.stderr.write(f"{exc}\n\n") | 214 sys.stderr.write(f"{exc}\n\n") |
| 210 raise exc | 215 raise exc |
| 211 | 216 |
| 212 except Exception as exc: | 217 except Exception as exc: |
