• Title/Summary/Keyword: python

Search Result 673, Processing Time 0.03 seconds

Benchmarking of BioPerl, Perl, BioJava, Java, BioPython, and Python for Primitive Bioinformatics Tasks and Choosing a Suitable Language

  • Ryu, Tae-Wan
    • International Journal of Contents
    • /
    • v.5 no.2
    • /
    • pp.6-15
    • /
    • 2009
  • Recently many different programming languages have emerged for the development of bioinformatics applications. In addition to the traditional languages, languages from open source projects such as BioPerl, BioPython, and BioJava have become popular because they provide special tools for biological data processing and are easy to use. However, it is not well-studied which of these programming languages will be most suitable for a given bioinformatics task and which factors should be considered in choosing a language for a project. Like many other application projects, bioinformatics projects also require various types of tasks. Accordingly, it will be a challenge to characterize all the aspects of a project in order to choose a language. However, most projects require some common and primitive tasks such as file I/O, text processing, and basic computation for counting, translation, statistics, etc. This paper presents the benchmarking results of six popular languages, Perl, BioPerl, Python, BioPython, Java, and BioJava, for several common and simple bioinformatics tasks. The experimental results of each language are compared through quantitative evaluation metrics such as execution time, memory usage, and size of the source code. Other qualitative factors, including writeability, readability, portability, scalability, and maintainability, that affect the success of a project are also discussed. The results of this research can be useful for developers in choosing an appropriate language for the development of bioinformatics applications.

Implementation of errorless protocol for controlling multiple Arduinos using python via I2C communication (다수의 아두이노를 파이썬과 I2C로 제어하기 위한 무오류 통신 프로토콜 구현)

  • Park, Jang-Hyun;Kim, Seong-Hwan;Park, Tae-Sik
    • Journal of IKEEE
    • /
    • v.21 no.3
    • /
    • pp.227-233
    • /
    • 2017
  • Python language is widely used because of its ease of learning and its wide application range. Arduino, on the other hand, is also widely utilized hardware for physical computing and internet of things(IoT). However, Arduino is controlled by $C{^+^+}$ language, which makes it difficult for non-experts to enter swiftly. This paper proposes an errorless protocol that can simultaneously control multiple Arduino devices in a master device using python language with I2C communication. Using the protocol proposed in this paper, we can take advantage of the python language to control multiple Arduinos.

A Scraping Method of In-Frame Web Sources Using Python (파이썬을 이용한 프레임내 웹 페이지 스크래핑 기법)

  • Yun, Sujin;Seung, Li;Woo, Young Woon
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2019.05a
    • /
    • pp.271-274
    • /
    • 2019
  • In this paper, we proposed a detailed address acquisition scheme for automatically collecting data of a web page in a frame that is difficult to access by a general web access method. Using the Python language and the Beautiful Soup library, which can utilize the proposed address resolution technique and the HTML selector, we were able to automatically collect all the bulletin board text data written in several pages. By using the proposed method, we can collect large amount of data automatically by Python web scraping program for web pages of any form of address, and we expect that it can be used for big data analysis.

  • PDF

Introduction to numba library in Python for efficient statistical computing (효율적인 통계 계산을 위한 파이썬 numba 라이브러리의 소개)

  • Cho, Younsang;Yu, Donghyeon;Son, Won;Park, Seoncheol
    • The Korean Journal of Applied Statistics
    • /
    • v.33 no.6
    • /
    • pp.665-682
    • /
    • 2020
  • This paper introduces numba library in Python, which improves computational efficiency of the provided implemented code written by naive Python language by applying just-in-time (JIT) compilation. To apply just-in-time compilation, the numba only needs to use a decorator on a target Python function. We provide implementation examples with numba for the permutation test and the parameter estimation for Gaussian mixture distribution. We also numerically show the efficiency of numba by comparing the total computation times of the implementation using naive python and the implementation using numba for each application.

Analyzing Characteristics of Code Refactoring for Python Deep-Learning Applications (파이썬 딥러닝 응용의 코드 리팩토링 특성 분석)

  • Kim, Dong Kwan
    • The Journal of the Korea Contents Association
    • /
    • v.22 no.10
    • /
    • pp.754-764
    • /
    • 2022
  • Code refactoring refers to a maintenance task to change the code of a software system in order to consider new requirements, fix bugs, and restructure code. There have been various studies of refactoring subjects such as refactoring types, refactoring benefits, and CASE tools. However, Java applications rather than python ones have been benefited by refactoring-based coding practices. There are few cases of refactoring stuides on Python applications. This paper finds and analyzes single refactoring operations and composite refactoring operations for Python-based deep learning systems. In addition, we find that there is a statistically significant difference in the frequency of occurrence of single and complex refactoring operations in the two groups of deep learning applications and typical Python applications. Furthermore, we analyze keywords of commit messages to catch refactoring intentions of software developers.

A Study on Future System Construction Using WSCR Strengthness Index based on Python (Python 기반 WSCR 강건 지수를 이용한 미래계통 구축에 관한 연구)

  • Park, Seong-Jun;Hur, Jin;Kim, Hyun-Jin;Cho, Yoon-Sung
    • The Transactions of The Korean Institute of Electrical Engineers
    • /
    • v.67 no.8
    • /
    • pp.994-1001
    • /
    • 2018
  • In this paper, to studied about future power system construction using PSS / E-Python API. Python-based future system automatical construction methods and modeling of renewable sources. it confirmed the stability of the powert system for each renewable area by calculating the weighted short circuit ratio (WSCR) index. it calculated the short circuit ratio (SCR) and selected the transmission line linkage scenario to improve the stability of vulnerable areas. it confirmed the WSCR index improvement through the selected transmission line linkage of scenario, and analyzed the stability of the renewable power system applying the scenario. It describes Facts and Shunt devices adjustment for the load flow convergence. It describes the stable methed of the bus voltage through the transformer Ratio Tap adjustment. By performing PSS/E ASCC using the Python it was performed three-phase short circuit fault capacity analysis, it is confirmed whether excess of the fault current circuit breaker capacity. In order to contingency accident analysis, it have described the generation of one or two line list of each areas using the Python. The list is used to contingency analysis and describe the soluted of the transmission line overload through comparison before and after adding the scenario line.

The Meta-Analysis on Effects of Education of Python for Elementary School Students (초등학생 대상 파이썬(Python) 활용 교육의 효과에 대한 메타분석)

  • Yoon, So Hee;Jang, Bong Seok
    • Journal of Industrial Convergence
    • /
    • v.18 no.5
    • /
    • pp.97-101
    • /
    • 2020
  • This study intended to analyze effects of education of python through meta-analysis. The researcher selected five primary studies reporting statistical data after implementing education of python in elementary classroom settings. Three research questions were stated. What is the total effect size of education of python? What are effect sizes of publication type, dependent variable, and etc.? What are results of meta-regression analysis by grade level, period, and etc.? Findings are as follows. The overall effect size was .598, which is medium. For categorical variables, the effect size of peer-reviewed journal articles was larger than theses. The effect size of affective domain was larger than student achievement and cognitive domain. For meta-regression analysis, education of python was more effective as the period and duration of the program increased. Finally, discussions and recommendations including qualitative investigation on affective domain and program management considering characteristics were presented regarding research findings.

Development of Python Instructional Model Using Robot for Elementary Students (초등학생을 위한 로봇 활용 파이썬 학습 모형 개발)

  • Park, DaeRyoon;Yoo, InHwan
    • Journal of The Korean Association of Information Education
    • /
    • v.22 no.3
    • /
    • pp.357-366
    • /
    • 2018
  • The Code Block Based Educational Programming Language(EPL) is the mainstream tool for software education for elementary students. However, Code Block Based EPL has limitations in scalability, even though there are many advantages as an introductory tool for software education. In this study, we searched the approach of SW education using Python, which is a text-based programming language actively used in real industrial field. We developed a learning program and model using Python and applied it to the sixth grade elementary school students for 10 hours. As a result, we found that the robot-based Python learning model had a significant effect on improving students' thinking skills and confirmed the applicability of text-based programming language to elementary school students.

A Study on Tools for Agent System Development The Performance Comparison of Web Applications Written Using Python and Go in Google App Engine-based Cloud Environment (앱 엔진기반의 클라우드 환경에서 Python 및 Go로 작성된 웹어플리케이션의 성능 비교)

  • Kang, Min-Ji;Woo, Byul;Lee, Do-Young;Jo, Seoung-Hyun;Moon, Bong-Kyo
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2015.04a
    • /
    • pp.10-13
    • /
    • 2015
  • Google App Engine(GAE)은 플랫폼 서비스 형태(Platform as a Service, PaaS)의 클라우드 인프라이며 GAE를 기반으로 웹어플리케이션을 제작할 수 있도록 다양한 개발 도구를 제공해 준다. 본 논문에서는 Python 및 Go를 이용하여 GAE 상에서 구현한 클라우드 기반의 web application들의 성능을 비교하고자 한다. 각 web application의 주요 기능은 회원가입, 로그인, 채팅 등으로 구성되어 있고 특히, 회원목록이나 채팅 데이터를 처리하기 위하여 GAE에서 제공하는 Google Datastore를 사용하였다. 성능비교를 위하여 Python2.5, Python 2.7 및 Go를 사용하여 통일한 기능의 web application을 구현하였으며 각각의 메뉴에 대하여 서버 로직의 실행과 장고 (Django) 스타일의 HTML 템플릿을 렌더링하는데 걸리는 시간을 구하고 이를 비교 분석하였다.