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 salmon #24

Merged
merged 32 commits into from
Mar 28, 2024
Merged

Add salmon #24

merged 32 commits into from
Mar 28, 2024

Conversation

sainirmayi
Copy link
Contributor

@sainirmayi sainirmayi commented Feb 19, 2024

Description

Add salmon index and quant components

Issue ticket number

Closes #xxxx

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributing guidelines

  • Proposed changes are described in the CHANGELOG.md

  • I have tested my code with viash ns test --parallel -q <name or namespace>

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes

@sainirmayi sainirmayi marked this pull request as ready for review February 19, 2024 07:54
@sainirmayi sainirmayi requested a review from rcannood February 19, 2024 07:55
@rcannood
Copy link
Contributor

I merged the PR that upgrades the viash version in biobase to 0.9. Could you update this PR to the Viash 0.9 format? 🙇 Thanks!

Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I added some comments.

src/salmon/quant/test_data/reads/a_1.fq.gz Outdated Show resolved Hide resolved
src/salmon/quant/config.vsh.yaml Outdated Show resolved Hide resolved
src/salmon/index/test.sh Outdated Show resolved Hide resolved
src/salmon/quant/test.sh Outdated Show resolved Hide resolved
src/salmon/quant/config.vsh.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sainirmayi!

How are things going with this PR?

src/salmon/index/config.vsh.yaml Outdated Show resolved Hide resolved
@sainirmayi
Copy link
Contributor Author

sainirmayi commented Mar 21, 2024

Hey @sainirmayi!

How are things going with this PR?

  1. I've added additional checks to verify if the outputs are correct also split the output directory such that the main quantification file is output separately.
  2. I changed multiple_sep into ; .
  3. I wasn't able to make the read files smaller because I don't have the reference genome to check which reads might map to the genome. Also, I don't have the reference files needed to build the index while running the test for salmon quant for the test data used here.

src/salmon/index/test.sh Outdated Show resolved Hide resolved
src/salmon/quant/test_data/script.sh Outdated Show resolved Hide resolved
src/salmon/index/config.vsh.yaml Outdated Show resolved Hide resolved
src/salmon/quant/config.vsh.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rcannood rcannood merged commit d9e7fdf into main Mar 28, 2024
19 checks passed
@rcannood rcannood deleted the add_salmon branch March 28, 2024 14:38
emmarousseau added a commit to emmarousseau/biobox that referenced this pull request Mar 29, 2024
commit d9e7fdf
Author: Sai Nirmayi Yasa <[email protected]>
Date:   Thu Mar 28 20:08:30 2024 +0530

    Add salmon (viash-hub#24)

    * add salmon index and quant

    * add test resources

    * add help text

    * script and config

    * add test

    * update script and test

    * add salmon quant

    * update CHANGELOG.md

    * update to viash 0.9 format

    * remove echo ststement

    * output the main salmon output file separately

    * check if output file has the right columns

    * check if correct output files were generated

    * fix doi

    Co-authored-by: Robrecht Cannoodt <[email protected]>

    * use the default multiple separator

    * rename components

    * remove print statements

    * check info.json output

    * reduce size of fastq files and generate index in test script

    * use smaller (manual) test data

    * set A as the default lib_type

    * Merge branch 'add_salmon' of https://github.com/viash-hub/biobase into add_salmon

    * add test to check content of output index

    * add more detailed description about libType

    * add test data

    * delete test data

    * move to salmon_index and salmon_quant

    ---------

    Co-authored-by: Robrecht Cannoodt <[email protected]>
emmarousseau pushed a commit to emmarousseau/biobox that referenced this pull request Mar 29, 2024
* add salmon index and quant

* add test resources

* add help text

* script and config

* add test

* update script and test

* add salmon quant

* update CHANGELOG.md

* update to viash 0.9 format

* remove echo ststement

* output the main salmon output file separately

* check if output file has the right columns

* check if correct output files were generated

* fix doi

Co-authored-by: Robrecht Cannoodt <[email protected]>

* use the default multiple separator

* rename components

* remove print statements

* check info.json output

* reduce size of fastq files and generate index in test script

* use smaller (manual) test data

* set A as the default lib_type

* Merge branch 'add_salmon' of https://github.com/viash-hub/biobase into add_salmon

* add test to check content of output index

* add more detailed description about libType

* add test data

* delete test data

* move to salmon_index and salmon_quant

---------

Co-authored-by: Robrecht Cannoodt <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants