Blake Allen
Blake Allen
  • Видео 5
  • Просмотров 135 324
Python 3 & Python 2.7 dual install - the right way on OSX
Python 3 & Python 2.7 dual install - installing Python 3 the right way, if you want to get started programming in Python, It's very important that you install Python the right way. This tutorial will show you how to use Home brew to install Python.
Просмотров: 14 490

Видео

Your First Program And Variables in PythonYour First Program And Variables in Python
Your First Program And Variables in Python
Просмотров 97311 лет назад
Getting Started in Python - after you've installed Python3 you're ready to start making your own programs. In this Tutorial we'll learn what a variable is and how to print them using Python3.
Python for Bioinformatics - Python As A CalculatorPython for Bioinformatics - Python As A Calculator
Python for Bioinformatics - Python As A Calculator
Просмотров 4,9 тыс.11 лет назад
Using Python as a Calculator - Learn the basics of using Math in Python
What is BioinformaticsWhat is Bioinformatics
What is Bioinformatics
Просмотров 10 тыс.11 лет назад
For more information visit: www.howtobioinformatics.com
Python For Bioinformatics and Your First Python for Bioinformatics ProgramPython For Bioinformatics and Your First Python for Bioinformatics Program
Python For Bioinformatics and Your First Python for Bioinformatics Program
Просмотров 105 тыс.11 лет назад
For more in-depth Python for Bioinformatics training visit: www.howtobioinformatics.com/pythonforBioinformatics Hi and welcome to Python for bioinformatics, my name is Blake Allen, and I am going to show you how to make your first Python for Bioinformatics program, in under 20 minutes. Were going to go over calculating GC content and making your first Python Program, So if you're a little more ...

Комментарии

  • @MyMasaka
    @MyMasaka 2 года назад

    The best video i have seen on bioinformatics

  • @aalimmujawar582
    @aalimmujawar582 3 года назад

    thanks it is very good information

  • @omotosoolatunde9139
    @omotosoolatunde9139 3 года назад

    Thank You!

  • @mauroresaca
    @mauroresaca 4 года назад

    Why never start with the code this man?

  • @unays
    @unays 4 года назад

    oh man, wow thanx

  • @M.K-SAVE
    @M.K-SAVE 4 года назад

    Just small question. Is this what bioinformatics mostly do? Sequence genes then use a programming language for analysis?

    • @MrChristian331
      @MrChristian331 4 года назад

      In a nutshell...YES. But in addition to analysis, they can use programming for drug discovery therapeutics. They can use programming for predictive analytics to see if something will switch a gene on or turn it off before administering it experimenting with it to save time and money.

  • @mni79
    @mni79 4 года назад

    good work

  • @previeweverything6124
    @previeweverything6124 4 года назад

    My syntax is always error in If char == "g" : Usually in (if) and in (g) Help me why

    • @dxamphetamin
      @dxamphetamin 4 года назад

      'g', you need to check for a char not a string

  • @bogdanbogdanovich140
    @bogdanbogdanovich140 4 года назад

    invalid syntax on the second quote of print "number of g's " + str(g)

    • @MrChacha1994
      @MrChacha1994 4 года назад

      idk if its because he's using make but If you are using windows like I am, make sure that when you use the "print" function, make sure to use parenthesis Ex: (EXACTLY LIKE THIS) print("number of g's " + str(g)")

    • @Paul-su7sb
      @Paul-su7sb 3 года назад

      Same here, thank you so much for the advice I am going to try it

    • @kareenamulchandani3356
      @kareenamulchandani3356 Год назад

      I think the syntax changed in Python3

  • @rusbiology3460
    @rusbiology3460 4 года назад

    Спасибо тебе большое за этот разбор!

  • @grimreapper2358
    @grimreapper2358 5 лет назад

    this is outstanding iam hoping you can show more examples in jupyter notebook

  • @dr.md.ismailhossain2681
    @dr.md.ismailhossain2681 5 лет назад

    very nice

  • @dhivyas9908
    @dhivyas9908 5 лет назад

    Thank you it works very well

  • @nityaaryasomayajula2204
    @nityaaryasomayajula2204 5 лет назад

    Hello, Thanks for this video! I was wondering if we could use the difflib program to do comparative genomics for two different files and create a report of differences?

  • @biemsklebob
    @biemsklebob 6 лет назад

    9:00 variable*

  • @kavansoni4671
    @kavansoni4671 6 лет назад

    Pls provide the exact link for dataset download in description

  • @irenez.b.1730
    @irenez.b.1730 6 лет назад

    any more advanced python scripts to use for the analysis of sequencing data

  • @irenez.b.1730
    @irenez.b.1730 6 лет назад

    👏👏👏

  • @georgegrevera7000
    @georgegrevera7000 6 лет назад

    I very much enjoyed this video. I like the fact that, by the end, I'm working with real data and doing something useful. Thanks!

  • @VercingetoR3x
    @VercingetoR3x 7 лет назад

    What version of python did you use?

  • @MWorks08
    @MWorks08 7 лет назад

    1.75x Speed would be really appreciated for this video :D

  • @alexandredias4782
    @alexandredias4782 7 лет назад

    amazing simple and straight forward tutorial. here's the dna link www.ncbi.nlm.nih.gov/nuccore/359465566?report=fasta here's the code to try it out : #comment #calculate CG content gene = open ("BRCA1_BAP1.txt", "r") #setting values to 0 g=0; a=0; c=0; t=0; #skip first line of header gene.readline() for line in gene: line = line.lower() for char in line: if char == "g": g+=1 if char == "a": a+=1 if char == "c": c+=1 if char == "t": t+=1 print ("number of g's " + str(g)) print ("number of c's " + str(c)) print ("number of a's " + str(a)) print ("number of t's " + str(t)) # 0. = convert to floating point gc = (g+c+0.) / (a+t+c+g+0.) print ("gc content: " + str(gc))

  • @jaredakers7683
    @jaredakers7683 7 лет назад

    Someone should re-do these videos in Windows.

  • @Actanonverba01
    @Actanonverba01 7 лет назад

    for beginners only

  • @stankoaksentijevic84
    @stankoaksentijevic84 7 лет назад

    Why the fuck you click so hard on that mouse. I do not like ur style at all. You seem like a spoiled brat.

  • @sadafafshanansari1176
    @sadafafshanansari1176 7 лет назад

    What is bioinformatics plz tell its basic .

  • @IsaacPiera
    @IsaacPiera 7 лет назад

    super inneficient code. use the count() funcion which is WAY faster!

    • @georgegrevera7000
      @georgegrevera7000 6 лет назад

      I timed both ways on a file of 117k bases. His way used 0.02 sec. Using count() used 0.005 sec. Both are fast enough for me.

    • @johnfedorov8089
      @johnfedorov8089 5 лет назад

      @@georgegrevera7000 The problem is scale. Had the gene sequences been longer, this would be exponentially inefficient. I'm coming from a computer science background though, where efficiency is hammered into our heads due to scalability

  • @boddmonchu
    @boddmonchu 7 лет назад

    gc = 0 for base in gene: if base = 'G' or base ='C': gc += 1 return float(gc)/len(gene) In PCR experiments, the GC-content of primers are used to predict their annealing temperature to the template DNA. A higher GC-content level indicates a higher melting temperature. wiki / gc content

  • @ShadArfMohammed
    @ShadArfMohammed 7 лет назад

    Thanks a lot, it was really helpful. You haven't put any other videos on this subject since 2013, though.

  • @mannyfan165
    @mannyfan165 8 лет назад

    dude why does this not work at all using windows

    • @LegeFles
      @LegeFles 8 лет назад

      did you install python?

    • @mannyfan165
      @mannyfan165 8 лет назад

      yes

    • @LegeFles
      @LegeFles 8 лет назад

      Matt saying it doesn't work "at all" isn't really a helpfull comment.

  • @aviC137
    @aviC137 8 лет назад

    It is really helpful. Thanks!

  • @bhrishxxn1639
    @bhrishxxn1639 8 лет назад

    thanks so much i'll definitely be coming back

  • @ggyanwali
    @ggyanwali 8 лет назад

    poor video making quality

  • @pankajsaraswat3110
    @pankajsaraswat3110 8 лет назад

    bevkuff

  • @MrGomajo
    @MrGomajo 8 лет назад

    Why not write it in the Python IDLE?

  • @cgroza
    @cgroza 8 лет назад

    Why not use count() or regular expressions?

  • @zapy422
    @zapy422 8 лет назад

    Nice cool intro to bioinfo

  • @kjeyaprakash2638
    @kjeyaprakash2638 8 лет назад

    which python book could be better for references ? This is nice!

  • @science_mbg
    @science_mbg 8 лет назад

    Thanks but I had problem while running. I used windows bash and I got " print "number of g's " + str(g) ^ SyntaxError: invalid syntax error. Even though I did the same thing that you did. Please help me

    • @nagaswaroopkenguntenagaraj8677
      @nagaswaroopkenguntenagaraj8677 8 лет назад

      +Suleyman Bozkurt That maybe because you are using python 3+ where the syntax for print statement is print("number of g's "+ str(g)) [Notice the parentheses], whereas in python 2+ the syntax for print is as mentioned in the video[ print "number of g's " + str(g) ] Hope it helped! :)

    • @d34thcom3sripping
      @d34thcom3sripping 6 лет назад

      thnx boss. resolved my issues.

  • @suryaavala
    @suryaavala 8 лет назад

    why not use macports instead?

  • @nenadsvrzikapa6893
    @nenadsvrzikapa6893 9 лет назад

    This is nice. A more advanced and brief way to count bases would be by using a Counter. Here is an example: gist.github.com/sunworshipper/0de4cc762467b849c727

  • @queenofunderland
    @queenofunderland 9 лет назад

    anyone know the answer ? what ,if u take the fasta format without head ,can u get rid of that gene.readline() ? And when the counter are named with A,C,T,G string, can u get rid of that line.lower() ? TQ 4 any suggestions .

    • @nenadsvrzikapa6893
      @nenadsvrzikapa6893 9 лет назад

      +willie ekaputra yeah that just skips the line, so if the line is not there you don't need to skip it, but if you remove it then it's no longer a fasta file. Either way, this is not how an advanced Bioinformatician would solve this task.I think Blake is showing that you can make the string lower case. It usually is upper case so you don't need to be converting you don't need that line.

    • @queenofunderland
      @queenofunderland 8 лет назад

      I have other question, can u then make this code a fct . with Def ... () :, so that u can open ANY Fasta saved files in yer PC and count its GC Content ?

  • @dragonsteria3042
    @dragonsteria3042 9 лет назад

    Awesome, my first python program to know the gc content... I have a question, What is the gc content for? What does it tell me exactly? Did not understand that very well. BTW I used this squence Rattus norvegicus BRCA1 mRNA, complete cds gc content: 0.460014

  • @ujenetics
    @ujenetics 9 лет назад

    Thanks a lot for a nice turotial! But have you tried TextWrangler instead of Textedit?

  • @chaokang3594
    @chaokang3594 9 лет назад

    Really helpful! I love Python!

  • @zakburns7092
    @zakburns7092 9 лет назад

    How is it one can discover the relative platform of" program" terminals. As I kid I had access to cmd. Or something like that, I didn't know what I was doing, but to search for a terminal, how might that be done?

  • @davidr.martinezph.d.4746
    @davidr.martinezph.d.4746 9 лет назад

    Hi, So I wrote the same program on PyCharm I tried opening this in Bash Shell and I get told "not a directory". I switched directories to ensure I was in the right folder. Does anyone have suggestions?

  • @zdenton
    @zdenton 9 лет назад

    Very helpful, thanks!

  • @NA0S90
    @NA0S90 9 лет назад

    very straight forward tutorial, thanks

  • @a355725
    @a355725 10 лет назад

    Thanks for the help! :)