Answer to Question #3777 in Python for Sravan

Question #3777
I have a text file which shows a column of position of TF and strand(+ or -) and another column showing total sequence length. I want to create a program which can take an input of a starting integer and add the position of the TF and depending on whether the strand is positive or negative, we can either subtract or add the first added position of the TF. It should show one column showing TFBS positions which has the first position of the TFBS added with the position and the final position coming from either subtracted or added from the type of strand given. Thank you. I am adding the few of the lines of the file for a better understanding:

Position (Strand) Factor Name Sequence Total Sequence Length
201 (-) HNF-4 tgttgaaCTTTAagccaac 19
700 (+) Pax-6 gaagtTCACGgttcacatatt 21
1
Expert's answer
2011-08-11T08:48:45-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS