GithubHelp home page GithubHelp logo

wenmore / alternative_cds_ends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomancak/alternative_cds_ends

0.0 2.0 0.0 3 KB

Perl script for counting alternative C-terminal ends of Drosophila protein isoforms based on GFF file

Perl 100.00%

alternative_cds_ends's Introduction

alternative_CDS_ends

Perl script for counting alternative C-terminal ends of Drosophila protein isoforms based on GFF file.

It works on a very simple principle of iterating through CDS forms and storing them in hash of hash where one key is the gene and the other key is the position of the C-terminal end of the gene's CDS. Like this naturally all CDS forms with the same end generate only one second level hash entry per gene. Finally the script counts the numbers of ends and prints all genes that have at least 2 CDS isoforms.

Pre-requisites: You need bare bones Perl. All the script does is simple text parsing, no fancy modules are needed. An up-to-date .gff file containing genome annotations respecting established GFF conventions.

Usage: On the command line type:

./annotated_cds_dmel.pl dmel-all-no-analysis-r6.07.gff

press enter.

Output: While procesing the file the script will print:

./annotated_cds_dmel.pl dmel-all-no-analysis-r6.07.gff Got genes

1 FBgn0020503 3

2 FBgn0031885 2

3 FBgn0039673 2

. . .

1402 FBgn0033063 2

1403 FBgn0262985 2

Thus the answer is: 1403 Drosophila genes have alternative C-termini.

alternative_cds_ends's People

Contributors

tomancak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.