Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] unexpected columns in FS report with --no-english #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scripts/frameshift_deletions_checks
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,6 @@ def write_english_summary(df_temp):
text_row='; '.join([s for s in [support_status, homopolymeric_status, pos_critical_status] if s])
variant_diagnosis.append(text_row)

df_temp.pop('stop_mismatches')
df_temp.pop('aa_position')
df_temp.pop('stoploss_nt')
df_temp['variant_position_english']=variant_position_english
df_temp['variant_diagnosis']=variant_diagnosis
return df_temp
Expand Down Expand Up @@ -961,6 +958,10 @@ def main():
if args.english==True:
print("adding english language")
df= write_english_summary(df)
# cleanup of internal stop codon information
df.pop('stop_mismatches')
df.pop('aa_position')
df.pop('stoploss_nt')


df.to_csv(args.outfile, sep='\t') # write to tsv-file
Expand Down
Loading