Giter Site home page Giter Site logo

furry-couscous's Introduction

furry-couscous - genepanelbuilder

Simple script to generate genelists with geneID and bed files with exons. Also checks if geneID is valid.

How to obtain flatfile with all transcripts:

  • In the UCSC browser. Select track NCBI RefSeq - table RefSeq Select (get autodl of this). all fields from selected table.
    • All the alternative chromosomes are removed and "chr" is removed before chromosome name.
  • In the UCSC browser. Select track NCBI RefSeq - table RefSeq All (get autodl of this). all fields from selected table.
  • In the UCSC browser. Select track NCBI RefSeq - table RefSeq Other (get autodl of this). all fields from selected table.
  • From genenames.org (ftp://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/tsv/locus_groups/) dl protein-coding_gene.txt

How it is run:

python panel_builder.py -h
usage: panel_builder.py [-h] -g GENELIST -n NAME

Takes a file with gene names as inputm and queries each name against
genenames.org, to check if the genename is present

optional arguments:
  -h, --help            show this help message and exit
  -g GENELIST, --genelist GENELIST
                        Input file
  -n NAME, --name NAME  Name of panel

# Example: 
python panel_builder.py -g genepanels/alle_genlister/Vask_bindevev_v5_080321.txt -n Vask_bindevev_v5_080321

What is does:

In addition to generating files, the script does the following:

  • Searches databases on the internet for the genes in the txt
  • Checks for duplicates in the list
  • What is not found in refseq-select is searched for in refseq-all, then finally gencode
  • What is not found is reported
  • Noncoding genes are also reported

Ouput:

A folder with the name of the genepanel is created with the following files:

  • genpanel_duplicated.regions.txt - duplicated regions (if any)
  • genpanel_full_gene.BED - bedfile with one row pr gene
  • genpanel.BED - bedfile with one row pr exon
  • genpanel.genetikkportalimport.txt - file used to import gene panel to genetikkportalen.no
  • genpanel.txt - The original gene list used as input

furry-couscous's People

Contributors

oyvindbusk avatar

Watchers

 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.