SlideShare a Scribd company logo
1 of 171
Download to read offline
This document contains confidential and proprietary information belonging to Macrogen, Inc.,
which may be used only in connection with the business of Macrogen, Inc.
ⓒ 2015, Macrogen, Inc. All Rights Reserved
1693
1694
•
•
•
•
•
•
1695
1696
•
•
•
•
•
•
1697
1698
ⓒ 2015, Macrogen, Inc. All Rights Reserved
16910
•
•
•
•
•
16911
•
•
•
•
•
16912
•
•
•
•
•
•
•
•
•
•
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
ⓒ 2015, Macrogen, Inc. All Rights Reserved
16936
16937
16938
16939
안녕 Guido,
구글 검색으로 너의 이력서를 보았어.
너는 파이썬에서 멋진 이력이 있네.
관심 있으면 답메일 부탁해.
------
우리의 고객이 PYTHON 개발자를 급히
구하고 있습니다. 지역은 *, NJ.
😅 😅 😅 😅 😅
16940
New Features in Python3
• f-String
PEP498 – Literal String Interpolation
python3.6
• Merge Dictionary
PEP448 – Additional Unpacking Generalizations
Python3.5
• Async
PEP492 – Coroutines with async and await syntax
python3.5
• Type hints
PEP484 – Type Hints
python3.5
• Guido made mypy which can check type without
IDE.
• Getter, Setter
PEP318 – Decorators for Functions and Methods
python2.4
• Decorator
PEP318 – Decorators for Functions and Methods
python2.4
• Decorator
• Walrus operator
PEP572 – Assignment Expression
python3.8
Walrus
:=
• Walrus operator (PEP572, python3.8)
16952
16953
16954
16955
16956
16957
16958
16959
16960
ⓒ 2015, Macrogen, Inc. All Rights Reserved
16962
16963
16964
16965
16966
1 print("Hello Bioinformatics")
16967
16968
1
2
3
4
5
6
r = 3
PI = 3.14
surface_area = r * r * PI
print(surface_area) ## 28.26
16969
16970
1
2
3
4
5
6
7
8
9
num1 = 3
num2 = 5
print(num1 + num2) ## 8
print(num1 - num2) ## -2
print(num1 * num2) ## 15
print(num1 / num2) ## 0.6
print(num1 // num2) ## 3
print(num1 ** num2) ## 243
16971
16972
1
2
3
4
5
num1 = 3
if num1 % 2 == 1:
print(num1, "은 홀수다.")
else:
print(num1, "은 짝수다.")
16973
16974
1
2
3
4
5
6
7
8
9
num1 = 21
if num1 % 3 ==0 and num1 % 7 == 0:
print(num1, "은 3과 7의 배수다.")
elif num1 % 3 == 0:
print(num1, "은 3의 배수다.")
elif num1 % 7 == 0:
print(num1, "은 7의 배수다.")
else:
print(num1, "은 3 또는 7의 배수가 아니다.")
16975
16976
1
2
3
4
s = 0
for i in range(1,11,1):
s += i
print(s)
16977
16978
1
2
3
for i in range(2,9,2):
for j in range(1,10,1):
print(i, "*", j, "=", i*j)
16979
16980
1
2
3
4
5
6
7
8
num = 5
result = 1
while num > 0:
result *= num
num -= 1
print(result)
16981
16982
1
2
3
4
5
def greet():
print("Hello, Bioinformatics.")
greet()
greet()
16983
16984
1
2
3
4
5
6
def mySum(num1, num2):
print("%s + %s = %s" %(num1, num2, num1+num2))
mySum(2, 3)
mySum(5, 7)
mySum(10, 15)
16985
16986
1
2
3
4
5
6
7
8
9
10
11
12
def Factorial():
result = 1
num = 5
while num > 0:
result *= num
num -= 1
return result
result = Factorial()
print(result)
16987
16988
1
2
3
4
5
6
7
8
9
10
def Factorial(num):
result = 1
while num > 0:
result *= num
num -= 1
return result
num = 3
result = Factorial(num)
print(result)
16989
16990
1
2
name = input("이름 입력: ")
print("Hello %s." % name)
16991
16992
1
2
3
4
5
6
s = input("입력: ")
if s.isalpha():
print("%s는 문자." % s)
else:
print("%s는 숫자." % s)
16993
16994
1
2
3
4
5
import sys
s = sys.argv[1]
print("Hello %s." % s)
16995
16996
1
2
3
4
5
6
f = open("read_sample.txt",'r')
r = f.readlines()
f.close()
for s in r:
print(s.strip())
16997
1
2
3
with open("read_sample.txt",'r') as handle:
for line in handle:
print(line.strip())
16998
16999
1
2
3
4
5
6
f = open("write_sample.txt",'w')
f.write("Hellon")
f.write("write_sample text filen")
f.close()
169100
1
2
3
4
write_string = "Hellonwrite_sample text filen"
with open("write_sample.txt",'w') as handle:
handle.write(write_string)
169101
1
2
3
4
5
6
7
# Single line comment
"""
Multiple line
comment
"""
169102
1
2
3
4
with open("noname.txt",'r') as fr:
read = fr.readlines()
print(read)
169103
1
2
3
4
with open("noname.txt",'r') as fr:
read = fr.readlines()
print(read)
1
2
3
4
5
6
try:
with open("noname.txt",'r') as fr:
read = fr.readlines()
print(read)
except FileNotFoundError:
print("파일이 없습니다.")
169104
1
2
num = int(input("Enter: "))
print(10 / num)
169105
1
2
num = int(input("Enter: "))
print(10 / num)
1
2
3
4
5
6
7
try:
num = int(input("Enter: "))
print(10 / num)
except ZeroDivisionError:
print("0으로는 나눌 수 없습니다.")
except ValueError:
print("값을 입력해주세요.")
169106
169107
169108
169109
169110
169111
169112
169113
169114
169115
169116
169117
169118
169119
169120
169121
169122
ⓒ 2015, Macrogen, Inc. All Rights Reserved
169124
😫
169125
169126
169127
169128
169129
169130
169131
169132
169133
169134
169135
169136
169137
169138
ⓒ 2015, Macrogen, Inc. All Rights Reserved
169140
169141
KT225476.2.fasta
>KT225476.2 Middle East respiratory syndrome coronavirus isol
ate MERS-CoV/THA/CU/17_06_2015, complete genome
AGTGAATAGCTTGGCTATCTCACTTCCCCTCGTTCTCTTGCAGAACTTTGATTTTAACGAA
CTTAAATAA
AAGCCCTGTTGTTTAGCGTATTGTTGCACTTGTCTGGTGGGATTGTGGCACTAATTTGCCT
GCTCATCTA
... 중간 생략 ...
ATCAACAGACCAAATGTCTGAACCTCCAAAGGAGCAGCGTGTGCAAGGTAGCATCACTCAG
CGCACTCGC
ACCCGTCCAAGTGTTCAGCCTGGTCCAATGATTGATGTTAACACTGATTAGTGTCACTC
169142
@EAS123:456:FC789VJ:3:1103:26362:2088 1:N:0:ACGTACGT
GCATGGAGGTGGCGCTGCAGACTGAGCCCCACTTGCTGGCTGGCACCGTCAACCCCACCGT
GGGCAAGAGGAATGTCACGCTGCCCATCGACAACTGCCTC
+
AAFFFJFJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ7
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
… 하략
169143
169144
169145
https://github.com/KennethJHan/Genome-
Analysis-Tutorial
169146
169147
169148
169149
A
ⓒ 2015, Macrogen, Inc. All Rights Reserved
169151
https://github.com/KennethJHan/Bioinform
atics_Programming_101
https://kennethjhan.github.io/Genome-Anal
ysis-Tutorial/
https://kennethjhan.github.io/Genome-Anal
ysis-Tutorial/resource
169152
https://raw.githubusercontent.com/Kenneth
JHan/Bioinformatics_Programming_101/m
aster/059.fasta
169153
169154
169155
169156
https://raw.githubusercontent.com/Kenn
ethJHan/Bioinformatics_Programming_
101/master/061.fastq
169157
169158
169159
169160
https://raw.githubusercontent.com/Kenneth
JHan/Bioinformatics_Programming_101/m
aster/077.bed
169161
169162
169163
https://raw.githubusercontent.com/Kenneth
JHan/Bioinformatics_Programming_101/m
aster/070.vcf
169164
169165
169166
169167
169168
169169
169170
J

More Related Content

Recently uploaded

Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
AlMamun560346
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
gindu3009
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
RohitNehra6
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 

Recently uploaded (20)

COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Bioinformatics Python Programming by HanJoohyun, Jul08, 2019