Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resolutionMultiplier config slot to BigWigAdapter #4619

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Oct 23, 2024

Allows a default multiplier to adjust the initially shown resolution in bigwig files

So e.g. setting it to 10 makes it quite low resolution on a whole genome coverage bigwig file

http://jbrowse.org/code/jb2/resolution_multiplier/?config=test_data%2Fconfig_demo.json&session=share-8ItYciPZqJ&password=LsY0O

the example config

    {
      "type": "QuantitativeTrack",
      "trackId": "ngmlr_cov",
      "name": "SKBR3 pacbio coverage (NGMLR)",
      "assemblyNames": ["hg19"],
      "adapter": {
        "type": "BigWigAdapter",
        "resolutionMultiplier": 10,
        "bigWigLocation": {
          "uri": "https://s3.amazonaws.com/jbrowse.org/genomes/hg19/reads_lr_skbr3.fa_ngmlr-0.2.3_mapped.bam.regions.bw"
        }
      }
    },

@cmdcolin cmdcolin force-pushed the resolution_multiplier branch from f460011 to 0922bf9 Compare October 23, 2024 20:46
@cmdcolin
Copy link
Collaborator Author

fixes #4618

@cmdcolin cmdcolin changed the title Example for resolutionMultiplier config slot to BigWigAdapter Add resolutionMultiplier config slot to BigWigAdapter Oct 29, 2024
@cmdcolin
Copy link
Collaborator Author

there are some further subtle points of discussion at #4618 but this PR fixes the main issue and @carolyntcaron confirmed it worked for their use case

@cmdcolin cmdcolin merged commit 7fa132c into main Oct 29, 2024
4 checks passed
@cmdcolin cmdcolin deleted the resolution_multiplier branch October 29, 2024 16:10
@cmdcolin cmdcolin added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant