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

polysomy command is not in help output when USE_GPL=1 #280

Closed
tseemann opened this issue Jun 12, 2015 · 0 comments
Closed

polysomy command is not in help output when USE_GPL=1 #280

tseemann opened this issue Jun 12, 2015 · 0 comments

Comments

@tseemann
Copy link

I compiled bcftools with USE_GPL=1 to enable the polysomal command.

However it does not appear in the --help output like the other commands.

I think it is because the .help field has a `-`` (dash) at the start which seems to be a code to "not advertise" this option:

#if USE_GPL
    { .func  = main_polysomy,
      .alias = "polysomy",
      .help  = "-detect number of chromosomal copies",
    },
#endif
    { .func  = main_vcfsom,
      .alias = "som",
      .help  = "-filter using Self-Organized Maps (experimental)"   // do not advertise
  },

I'm guessing this is a legacy bug due to the licence issues around GSL, but if we explicity asked for it then it should be in the help.

mcshane added a commit that referenced this issue Jul 6, 2015
This was hidden as it was/is experimental, but with the licensing
additions, users are explicitly requesting the command by compiling
with USE_GPL=1, so we might as well display in the help message.

Closes #280
pd3 pushed a commit to pd3/bcftools that referenced this issue Jul 12, 2015
This was hidden as it was/is experimental, but with the licensing
additions, users are explicitly requesting the command by compiling
with USE_GPL=1, so we might as well display in the help message.

Closes samtools#280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant