From 437773f16baac9212bcc925322f7b7b54e3e9168 Mon Sep 17 00:00:00 2001 From: Ronak H Shah Date: Thu, 13 Jul 2017 12:42:15 -0400 Subject: [PATCH] Removing some commented lines --- iAnnotateSV/helper.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/iAnnotateSV/helper.py b/iAnnotateSV/helper.py index f8f25ae..798e31d 100644 --- a/iAnnotateSV/helper.py +++ b/iAnnotateSV/helper.py @@ -43,16 +43,6 @@ def ExtendPromoterRegion(df, distance): df['geneEnd'] = df['txEnd'] #df['geneStart'] = df.apply(lambda row: row['txStart'] if str(row['strand']) == '+' else row['txStart'] + distance, axis=1) #df['geneEnd'] = df.apply(lambda row: row['txEnd'] if str(row['strand']) == '-' else row['txEnd'] + distance, axis=1) -# txStart = df['txStart'] -# txEnd = df['txEnd'] -# p_mask = (df['strand'] != "-") -# p_valid = df[p_mask] -# df['geneStart'] = txStart -# df.loc[p_mask,'geneStart'] = p_valid['txStart'] - int(distance) -# n_mask = (df['strand'] != "+") -# n_valid = df[n_mask] -# df['geneEnd'] = txEnd -# df.loc[n_mask,'geneEnd'] = n_valid['txStart'] + int(distance) return(df) '''