APA Predict Variant Effects

Hey, confused about why I’m sometimes getting the error that:

columns = [ —>

c for c in df_scores.columns if c not in [‘variant_id’, ‘scored_interval’]

]

df_scores[columns]

AttributeError: ‘NoneType’ object has no attribute ‘columns’

I thought so long as the window contains a PAS (which it should), I should at least have one column in my output?

Thanks!

Hi @kylee , welcome to the community!

Usually the reason you wouldn’t have any columns is if there’s no scores for that particular region (i.e. these lines here), but if you’re saying its a region that should have some scores, then that’s confusing…

Do you have an example variant you could share that yields this error?

Thanks!

Hi @tward , thanks! Yeah, the lines you referred me to are why I was confused.

I was trying it out using ACTB with the 1 MB window, inserting SV40 (a known PAS) prematurely and observing the impact on termination. The thought process was that surely within that window there should be some scores…maybe I’m misunderstanding how the scorer works?