Skip to content

Turning off alignments when using the CLI #71

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

You must be logged in to vote

Hi Matthias,

I can see what you are trying to do, but setting ylim 0 does not turn off reserving space for alignments - I think this is a bug, and it should work the way you are trying. However, there is another way to get the desired effect, simply use the --command option available on the CLI, this will apply a command right before any drawing commands are issued. For example:

gw hg38 -b ./DB53.bam -b ./DB53.bam -b ./DB53.bam --command "alignments" --command "load ideogram hg19" -n -r chr1:1-20000 > test.png

This is the same as running the alignments command followed by load ideogram hg19 (the alignments command toggles alignments on/off, as they are on by default, this will toggle th…

Replies: 1 comment 1 reply

Comment options

kcleal
Feb 3, 2025
Maintainer Author

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

Answer selected by kcleal
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