Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sfunkhouser
    Junior Member
    • Sep 2014
    • 4

    #1

    Query individuals with both WGS and RNA-Seq data

    Using the SRAdb R package, I am looking to query individuals who possess both WGS and RNA-Seq data on the Sequence Read Archive. So far I believe I have been able to query specific samples with both WGS and RNA-Seq experiments, however a specific sample, provided by the sample_accession, is not exactly what I'm looking for.

    For example: I'm interested in finding human data in which one human was used to derive WGS data, and several tissues from that same human were used to derive RNA-Seq data.

    Is there any easy way to accomplish this using SQL and/or R?

    So far, this is my approach to identify samples that have both WGS and RNA-Seq data, using the local database, SRAmetadb.sqlite:

    Code:
    con <- dbConnect(SQLite(),'SRAmetadb.sqlite')
    query <- dbGetQuery(con,
                        paste(
                              "SELECT
                                sample.sample_accession,
                                sample.scientific_name,
                                experiment.experiment_accession,
                                experiment.library_strategy
                              FROM sample
                              JOIN experiment ON
                                sample.sample_accession = experiment.sample_accession
                              WHERE experiment.library_strategy in ('WGS','RNA-Seq')
                              GROUP by sample.sample_accession
                              HAVING COUNT(DISTINCT experiment.library_strategy) = 2"
                            )
                        )
    With this approach, I can see query contains 181 human samples that have at least one WGS experiment and one RNA-Seq experiment. That's great, but I feel I must be missing out on data that came from different samples but the same individuals.

    Of course, I am not only interested in querying data from the SRA, if other databases are more appropriate for this task

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
48 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
37 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...