Skip to content

Plotting large regions using local bam file with jbrowse/img #3331

Answered by cmdcolin
kcleal asked this question in Q&A
Discussion options

You must be logged in to vote

@kcleal i think the force flag should work now, can reinstall with npm install -g @jbrowse/img for latest. i tried plotting some largish region of long reads, 900kb

jb2export --fasta http://jbrowse.org/genomes/GRCh38/fasta/hg38.prefix.fa.gz --cram http://s3.amazonaws.com/jbrowse.org/genomes/GRCh38/skbr3/skbr3.ont.sort.mod.cram force:true --loc 1:1,000,000-1,900,000

with larger region it is a out of memory. might need to add node env variables to give it more memory for these cases

the --fasta and --cram/--bam flags should work on local files as well as urls. plotting large e.g. megabase scale regions with alignments is definitely an interesting challenge :) i normally conceive of people …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@kcleal
Comment options

Comment options

You must be logged in to vote
1 reply
@cmdcolin
Comment options

Answer selected by kcleal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants