Skip to content

Instantly share code, notes, and snippets.

@yasirs
yasirs / Model.md
Created March 8, 2024 15:04
Simple cell model equations

Internal HIF dynamics:

$$ hif\_production = k\_HIF\_production\_basal + k\_HIF\_production\_max * hif\_in^2 / (k\_HIF\_pos\_feedback + hif\_in^2) $$

$$ hif\_degradation = k\_HIF\_deg\_basal * hif\_in * oxygen\_ex + k\_HIF\_deg\_lactate * hif\_in * lactate\_in $$

@yasirs
yasirs / ectools.md
Created October 28, 2015 17:33
EC tools information

To view missing corrected fasta files in a folder:

ls -alth p*.cor.fa | awk '{print $9}' | cut -f 1 -d '.' | cut -d 'p' -f 2 | sort | awk 'BEGIN {nt = 1; et=1;} {while (nt != $1) {print nt; nt = nt+1;}  nt=nt+1}'

To view them as blocks (for submission as SGE array jobs):

ls -alth p*.cor.fa | awk '{print $9}' | cut -f 1 -d '.' | cut -d 'p' -f 2 | sort | awk 'BEGIN {nt = 1; et=1;} {if (nt != $1) {print "starting=",nt;et=-1;} while (nt != $1) {nt = nt+1;} if (et<1) {et=nt-1; print "ending=",et;} nt=nt+1}'