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

Latest Bowtie2 build doesn't include version #22836

Closed
rpetit3 opened this issue Jun 23, 2020 · 2 comments
Closed

Latest Bowtie2 build doesn't include version #22836

rpetit3 opened this issue Jun 23, 2020 · 2 comments

Comments

@rpetit3
Copy link
Member

rpetit3 commented Jun 23, 2020

The current build of Bowtie2 does not output version number.

bowtie2 --version
/home/rpetit/miniconda3/envs/bactopia-1.3.1/bin/bowtie2-align-s version
...truncated...

The expected output is:

bowtie2 --version
/home/rpetit/miniconda3/envs/bactopia-1.3.1/bin/bowtie2-align-s version 2.4.1
...truncated...

After digging it looks like this is related to the change in: #22545 (specifically 5dd7114).

Bowtie2 uses the VERSION file to specifiy the version (See: https://github.com/BenLangmead/bowtie2/blob/b4911f20a7a701df57dd1889d6eee0134d1ec895/Makefile#L328)

Related issue on Bowtie Repo: BenLangmead/bowtie2#301

I can see about submitting a PR to bowtie2 that would allow VERSION to be set at command line instead of only being available from the file.

@cblume
Copy link

cblume commented Jun 24, 2020

I was about to open this issue as well. A result of this bug is SAM headers missing the value to the VN: key, which renders the header--and in turn, the whole file--invalid.

marcelm added a commit to elsasserlab/minute that referenced this issue Jun 30, 2020
Bowtie2 2.4.1, which we get otherwise at the moment, is packaged incorrectly
in Bioconda, see <bioconda/bioconda-recipes#22836>.
rpetit3 added a commit that referenced this issue Jul 2, 2020
The pin for Bowtie2 is related to #22836
BiocondaBot added a commit that referenced this issue Jul 3, 2020
Merge PR #22967, commits were: 
 * Update build.sh

Bactopia changed how versions were handled
 * Update meta.yaml

The pin for Bowtie2 is related to #22836
 * Update bactopia to 1.4.0
MikkelSchubert added a commit to MikkelSchubert/paleomix that referenced this issue Sep 26, 2020
Due to a bug in the conda build script, these versions of bowtie2 have
no version information. This results bowtie2 inserting empty VN values
in @pg tags, resulting in invalid SAM headers.

bioconda/bioconda-recipes#22836
@bernt-matthias
Copy link
Contributor

Seems to be fixed in the latest version

marcelm added a commit to elsasserlab/minute that referenced this issue Oct 28, 2021
The reason for restricting the version to 2.3.5.1 was that the tool would
create incorrect VN tags in the SAM header, see #51. This bug has since
been fixed according to
bioconda/bioconda-recipes#22836 .

The upstream issue at BenLangmead/bowtie2#301 was
re-opened, though.

Closes #121
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

3 participants