Skip to content

Problem - Genomic Region Viewing Window #33

@BolisLab

Description

@BolisLab

Hi, thanks in advance for the help. I tried plotting some bigwig files, successfully creating a track plot with a not very wide viewing window:

> loci_names
         SYMBOL                      LOCI
ANKRD11 ANKRD11   chr16:89007630-89650561`

**Indeed, the code works:**

> t = track_extract(colData = sample_bigWigs_list[[j]], loci = loci_names$LOCI[i])
Parsing loci..
    Queried region: chr16:89007630-89650561 [642931 bps]
Querying UCSC genome browser for gene model and cytoband..
Extracting gene models from UCSC:
    chromosome: chr16
    build: hg38
    query: mysql --user genome --host genome-mysql.soe.ucsc.edu -NAD hg38 -e 'select chrom, txStart, txEnd, strand, name, name2, exonStarts, exonEnds from refGene WHERE chrom ="chr16"'
Extracting cytobands from UCSC:
    chromosome: chr16
    build: hg38
    query: mysql --user genome --host genome-mysql.soe.ucsc.edu -NAD hg38 -e 'select chrom, chromStart, chromEnd, name, gieStain from cytoBand WHERE chrom ="chr16"'
Generating windows [10 bp window size]
Extracting signals
    Processing iPSC_1_MNCdLS1 ..
    Processing iPSC_2_G12 ..
    Processing iPSC_3_MNFa1 ..
    Processing iPSC_4_MNMo1 ..
OK!

When I try to widen the viewing window:

> loci_names
         SYMBOL                      LOCI
ANKRD11 ANKRD11   chr16:88667630-89990561

 #get the following error:

t = track_extract(colData = sample_bigWigs_list[[j]], loci = loci_names$LOCI[i])
Parsing loci..
    Queried region: chr16:88667630-89990561 [1322931 bps]
Querying UCSC genome browser for gene model and cytoband..
Extracting gene models from UCSC:
    chromosome: chr16
    build: hg38
    query: mysql --user genome --host genome-mysql.soe.ucsc.edu -NAD hg38 -e 'select chrom, txStart, txEnd, strand, name, name2, exonStarts, exonEnds from refGene WHERE chrom ="chr16"'
Extracting cytobands from UCSC:
    chromosome: chr16
    build: hg38
    query: mysql --user genome --host genome-mysql.soe.ucsc.edu -NAD hg38 -e 'select chrom, chromStart, chromEnd, name, gieStain from cytoBand WHERE chrom ="chr16"'
Generating windows [10 bp window size]
Extracting signals
    Processing iPSC_1_MNCdLS1 ..
invalid unsigned integer: "8.9e+07"
    Processing iPSC_2_G12 ..
invalid unsigned integer: "8.9e+07"
    Processing iPSC_3_MNFa1 ..
invalid unsigned integer: "8.9e+07"
    Processing iPSC_4_MNMo1 ..
invalid unsigned integer: "8.9e+07"
Error: Can't assign 1 names to a 0-column data.table

I have checked that the selected regions do not exceed the chromosome sizes, and there is no such issue.
What could it be due to? Can it be resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions