Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chen@haplox.com
    Member
    • Aug 2015
    • 16

    #1

    Introduce OpenGene: an open source genetics library written in Julia

    (No maintenance) OpenGene, core libraries for NGS data analysis and bioinformatics in Julia - OpenGene/OpenGene.jl


    OpenGene, core libraries for NGS data analysis and bioinformatics, written in julia

    OpenGene already supports fastq/fasta/vcf/gtf/bed reading and writing, and also gives sam/bam reading/writing support with (https://github.com/OpenGene/HTSLIB.jl)

    Need more contribution to make OpenGene a fast, easy-to-use and powerful genetics toolkit.

    Examples

    read/write a single fastq/fasta file

    using OpenGene

    istream = fastq_open("input.fastq.gz")
    ostream = fastq_open("output.fastq.gz","w")

    while (fq = fastq_read(istream))!=false
    fastq_write(ostream, fq)
    end

    close(ostream)



    fasta is supported similarly with fasta_open, fasta_read and fasta_write

    read/write a pair of fastq files

    using OpenGene

    istream = fastq_open_pair("R1.fastq.gz", "R2.fastq.gz")
    ostream = fastq_open_pair("Out.R1.fastq.gz","Out.R2.fastq.gz","w")

    while (pair = fastq_read_pair(istream))!=false
    fastq_write_pair(ostream, pair)
    end

    close(ostream)



    read/write a bed file

    using OpenGene

    intervals = bed_read_intervals("in.bed")
    bed_write_intervals("out.bed",intervals)

    read/write a VCF

    using OpenGene

    vcfobj = vcf_read("in.vcf")
    vcf_write("out.vcf", vcfobj)



    read/write a GTF

    using OpenGene

    gtfobj = gtf_read("in.gtf")
    gtf_write("out.gtf", gtfobj)

    gtfobj, stream = gtf_read("in.gtf", loaddata = false)
    while (row = gtf_read_row(stream)) != false
    # do something with row ...
    end



    locate the gene/exon/intron

    using OpenGene, OpenGene.Reference

    index = gencode_load("GRCh37")

    gencode_locate(index, "chr5", 149526621)
    # 1-element Array{Any,1}:
    # Dict{ASCIIString,Any}("gene"=>"PDGFRB","number"=>1,"transcript"=>"ENST00000261799.4","type"=>"intron")
    Last edited by [email protected]; 02-19-2016, 06:19 AM.
    OpenGene(Libraries and tools for NGS data analysis),AfterQC(Fastq Filtering and QC)
    FusionDirect.jl( Detect gene fusion), SeqMaker.jl(Next Generation Sequencing simulation)
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    Nice; that looks very easy to use.

    Comment

    • chen@haplox.com
      Member
      • Aug 2015
      • 16

      #3
      Originally posted by Brian Bushnell View Post
      Nice; that looks very easy to use.
      , easy-to-use is required.

      If you got new ideas, open an issue to discuss
      OpenGene(Libraries and tools for NGS data analysis),AfterQC(Fastq Filtering and QC)
      FusionDirect.jl( Detect gene fusion), SeqMaker.jl(Next Generation Sequencing simulation)

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      46 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      46 views
      0 reactions
      Last Post SEQadmin2  
      Working...