Skip to content

Commit

Permalink
Merge pull request #10 from rhshah/development
Browse files Browse the repository at this point in the history
Removing some commented lines
  • Loading branch information
rhshah authored Jul 13, 2017
2 parents a4f6500 + 437773f commit 228260c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions iAnnotateSV/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

'''
Expand Down

0 comments on commit 228260c

Please sign in to comment.