Skip to content

Instantly share code, notes, and snippets.

View TomConlin's full-sized avatar
💭
Data Gardener

Tom Conlin TomConlin

💭
Data Gardener
View GitHub Profile
@TomConlin
TomConlin / README.md
Last active March 3, 2021 05:25
Dipper-Quality

Dipper repo pylint-quality over time.

This graph is generated with git logs and python's builtin static analysis tool 'pylint'.

Pylint is called with only the default configuration.

For each series-of-commits by an author, the first & last are checked out and static analysis of the code base is preformed. capturing the first & final score (<= 10) of the interval.

@TomConlin
TomConlin / README
Last active March 2, 2021 17:09
Shrub-Datalog
placeholder
@TomConlin
TomConlin / FriendsOfEntropy
Last active June 17, 2021 18:17
FriendsOfEntropy - enrich decidability for Variant Call Format(VCF) data across multiple cultivar/strains for Machine Learning
gvcf is not just "gzipped" vcf it is some "genomic" extension to the format
# test
vcftools --gzvcf ./data/gvcf/IDTX_PCRfree_PI562985_ATTACTCG-ATAGAGGC_Sorghum_I549_L1.bwa_pcr_free.raw.snps.indels.g.vcf.gz \
--non-ref-ac-any 1 \
--recode \
--recode-INFO-all \
--stdout > test_vcftools_filtered
@TomConlin
TomConlin / FastFastaRead.readme
Created December 27, 2019 22:10
fasta binary formats exploration with Julia (v0.2?)
2019 - almost a decade ago now I helped mentor
a CS student writing a bioinformatics exercise in C++.
To help avoid doing his work I did not use C++.
Instead I experimented in Julia; probably v0.2 or v0.3.
The task was to compare ginormas metagenomics studies quickly.
abnormalBehavior.yaml: text: "'has_part' some ('quality' and ('inheres_in' some %s) and ('qualifier' some 'abnormal'))"
abnormalCellProliferation.yaml: text: "'has_part' some ('process quality' and ('inheres_in_part_of' some (cell_proliferation and ('occurs in' some %s))) and ('qualifier' some 'abnormal'))"
abnormalFunctionality.yaml: text: "'has_part' some ('functionality' and ('inheres_in_part_of' some %s) and ('qualifier' some 'abnormal'))"
abnormalLevelOfChemicalInEntity.yaml: text: "'has_part' some (amount and ('inheres_in' some (%s and ('part_of' some %s))) and ('qualifier' some abnormal))"
abnormalLevelOfChemical.yaml: text: "'has_part' some ('amount' and ('inheres_in' some %s) and ('qualifier' some 'abnormal'))"
abnormalLevelOfMolecularEntityInLocation.yaml: text: "'has_part' some ('amount' and ('inheres_in' some (%s and ('part_of' some %s))) and ('qualifier' some 'abnormal'))"
abnormalLevelOfMolecularEntity.yaml: text: "'has_part' some ('amount' and ('inheres_in' some %s) and ('qualifier' some
CELL
pub
species
disease
sex
age
category/type
anatomy
marker/allele
@TomConlin
TomConlin / v2small_check_20180318.txt
Created March 19, 2018 03:26
Third pass on the hpo rare disease annotation v2 small files
head -1 rare-diseases/annotated/v2smallFiles/DECIPHER-18.tab | tr '\t' '\n' | grep -n .
1:#diseaseID <- inconsistant capatilization
2:diseaseName
3:phenotypeId
4:phenotypeName
5:onsetId
6:onsetName
7:frequency
8:sex
9:negation
@TomConlin
TomConlin / v2 big file survey
Created March 18, 2018 18:30
HPO rare disease annotation bigfile survey
big files are already a single file
give a short pathname for ease
and bring it to the root directory
so I don't make a mess in the data directories
ln -s rare-diseases/annotated/v2bigfiles/phenotype.hpoa v2big.tab
Giving the file a non standard suffix which does not denote the format
is not doing anyone a favor, phenotype is redundant in hpo
@TomConlin
TomConlin / second_v2small_file_survey
Created March 14, 2018 06:49
Second round of v2small files
head -1 rare-diseases/annotated/v2smallFiles/DECIPHER-18.tab | tr '\t' '\n' | grep -n .
1:#diseaseID
2:diseaseName
3:phenotypeId
4:phenotypeName
5:onsetId
6:onsetName
7:frequency
8:sex
9:negation
@TomConlin
TomConlin / v2file_survey
Created February 24, 2018 04:38
survey of proposed hpo v2 small file format
head -1 DECIPHER-18.tab | tr '\t' '\n' | grep -n .
1:#DiseaseID
2:DiseaseName
3:HpoId
4:HpoName
5:ageOfOnsetId
6:ageOfOnsetName
7:evidenceCode
8:frequencyModifier
9:sex