awk -f linearizefasta.awk < input.faor
awk '/^>/ {printf("%s%s\t",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}' < input.fa| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| #!/usr/bin/env python | |
| """ | |
| GTF.py | |
| Kamil Slowikowski | |
| December 24, 2013 | |
| Read GFF/GTF files. Works with gzip compressed files and pandas. | |
| http://useast.ensembl.org/info/website/upload/gff.html |