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

Dp24 organellar #35

Merged
merged 24 commits into from
Nov 6, 2023
Merged

Dp24 organellar #35

merged 24 commits into from
Nov 6, 2023

Conversation

DLBPointon
Copy link
Contributor

Adds blast for organelles

@DLBPointon DLBPointon added enhancement New feature or request Release 1 labels Oct 13, 2023
@DLBPointon DLBPointon self-assigned this Oct 13, 2023
@DLBPointon
Copy link
Contributor Author

Currently relies on PR #34 to be merged first

@github-actions
Copy link

Python linting (black) is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

  • Install black: pip install black
  • Fix formatting errors in your pipeline: black .

Once you push these changes the test should pass, and you can hide this comment 👍

We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 1f3d386

+| ✅ 125 tests passed       |+
#| ❔  21 tests were ignored |#
!| ❗  21 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in README.md: TODO nf-core:
  • pipeline_todos - TODO string in README.md: Include a figure that guides the user through the major workflow steps. Many nf-core
  • pipeline_todos - TODO string in README.md: Fill in short bullet-pointed list of the default steps in the pipeline
  • pipeline_todos - TODO string in README.md: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
  • pipeline_todos - TODO string in README.md: update the following command to include all required parameters for a minimal example
  • pipeline_todos - TODO string in README.md: If applicable, make list of people who have also contributed
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in nextflow.config: Specify your pipeline's command line flags
  • pipeline_todos - TODO string in ci.yml: You can customise CI pipeline run tests as required
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in output.md: Write this documentation describing your workflow's output
  • pipeline_todos - TODO string in usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in WorkflowMain.groovy: Add Zenodo DOI for pipeline after first release
  • system_exit - System.exit in WorkflowAscc.groovy: System.exit(1) [line 18]

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: assets/nf-core-ascc_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-ascc_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-ascc_logo_dark.png
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: conf/igenomes.config
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File ignored due to lint config: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/nf-core-ascc_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-ascc_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-ascc_logo_dark.png
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/ascc/ascc/.github/workflows/awstest.yml
  • multiqc_config - 'assets/multiqc_config.yml' not found

✅ Tests passed:

Run details

  • nf-core/tools version 2.10
  • Run at 2023-11-06 10:07:02

@DLBPointon DLBPointon added the WIP Work In Progress label Oct 19, 2023
@DLBPointon
Copy link
Contributor Author

Local testing has revealed an error, with a slightly larger data set causing an NCBI C++ error.

Copy link
Contributor

Choose a reason for hiding this comment

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

looks fine for now, but better to consider a better way to write.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will leave that to Eerik, he understands what is supposed to be happening here.

@yumisims yumisims requested review from eeaunin and removed request for weaglesBio October 20, 2023 09:33
@yumisims
Copy link
Contributor

could Eerik to have a check on this workflow?

@DLBPointon
Copy link
Contributor Author

could Eerik to have a check on this workflow?

That's fine, I just wanted to chase down this error with BLASTN first.
I'll send the error on Slack, hopefully someone understands it a bit more.

@DLBPointon DLBPointon removed the WIP Work In Progress label Oct 26, 2023
@yumisims
Copy link
Contributor

I have PR to fix the blastn nf core module, could use it here instead of creating a new module, currently the PR is waiting for nf-core to fix conda problem then merge. nf-core/modules#4245 (comment)

@DLBPointon
Copy link
Contributor Author

I have PR to fix the blastn nf core module, could use it here instead of creating a new module, currently the PR is waiting for nf-core to fix conda problem then merge. nf-core/modules#4245 (comment)

PR waiting on above fix by nf-core + nf-test

'docker.io/ubuntu:20.04' }"

input:
tuple val(meta), path(busco)
Copy link
Contributor

Choose a reason for hiding this comment

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

What's this file used for? ASCC doesn't currently use BUSCO, so I'm confused about what this script does

Copy link
Contributor

Choose a reason for hiding this comment

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

ASCC can run the BTK-BUSCO SnakeMake pipeline but its own scripts don't use BUSCO

path: { "${params.outdir}/pipeline_info" },
mode: params.publish_dir_mode,
pattern: '*_versions.yml'
]
}

withName: KRAKEN2_KRAKEN2 {
ext.args = { "--report-zero-counts --use-names --memory-mapping" }
ext.args = { "--report-zero-counts --use-names --memory-mapping" }
Copy link
Contributor

Choose a reason for hiding this comment

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

In the https://github.com/sanger-tol/cobiontcheck/tree/develop version I'm using Kraken2 without memory mapping

@@ -9,16 +9,16 @@ process GET_LINEAGE_FOR_TOP {

input:
tuple val(meta), path(tophits)
path( ncbi_taxonomy_path )
path( accessions_folder )
Copy link
Contributor

Choose a reason for hiding this comment

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

Renaming ncbi_taxonomy_path to accessions_folder is a good change. Perhaps it would be even clearer what this folder contains if it was called accession2taxid_folder?

@yumisims yumisims merged commit 5196d4d into dev Nov 6, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Release 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants