lgragert / srtr-impute-pubsaf2306

Extract HLA typing from SRTR and format data for 9-locus high resolution HLA imputation
1 stars 0 forks source link

TODO - Improve aa_mm_biopython performance #5

Open alyspayn opened 10 months ago

alyspayn commented 10 months ago

Updating one cell at a time with the AAMM value is slow At this line mainly: happair_selected.at[index,seqf_name]

Performance warning silences - warnings.simplefilter(action='ignore', category=pd.errors.PerformanceWarning)

An alternative way to use an apply() function and concatenate one row at a time