How to calculate bowtie2 run time using python
1
0
Entering edit mode
6.3 years ago
John ▴ 270

Hello dear one,

I am new to programming! I want to calculate the run duration of bowtie2 and bwa. 1. First I don't know (the program) how to run a bowtie2 in python script! 2. And I want to know how to calculate time using python! Can you please help me?

Thanks in advance!

RNA-Seq bowtie2 alignment python • 2.0k views
ADD COMMENT
1
Entering edit mode

Please do not delete posts that have received answers or have been solved. You should accept (green mark) @Devon's answer if it helped solve your question.

ADD REPLY
2
Entering edit mode
6.3 years ago
  1. Read the documentation for bowtie2/bwa regarding how to run them.
  2. Do so from the command line.
  3. Once you can do (2), see the python subprocess module.
  4. You can google for python date and timedelta
ADD COMMENT
0
Entering edit mode

Thank you Dr. Devon-Ryan, I have learnt how to use bowtie and bwa, since I am new for python I found subprocess module as very tough one! I will learn sooner!

ADD REPLY

Login before adding your answer.

Traffic: 2453 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6