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
        How Immunogenomics Decodes Immunity’s Genetic Blueprint
        by SEQadmin2




        The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

        This convergence of genetics, immunology, and computation...
        Today, 05:41 AM
      • SEQadmin2
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        by SEQadmin2



        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

        Despite this, “CRISPR helped turn genome editing from a specialized technique into
        ...
        07-31-2026, 11:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-24-2026, 10:32 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-20-2026, 11:17 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-18-2026, 10:05 AM
      0 responses
      55 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-13-2026, 12:22 PM
      0 responses
      50 views
      0 reactions
      Last Post SEQadmin2  
      Working...