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

Presupplied ORFs functionality #264

Closed
wants to merge 9 commits into from
Closed

Presupplied ORFs functionality #264

wants to merge 9 commits into from

Conversation

jfy133
Copy link
Member

@jfy133 jfy133 commented Apr 26, 2023

Closes #255

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/funcscan branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@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!

@jfy133 jfy133 marked this pull request as draft April 26, 2023 09:11
@github-actions
Copy link

github-actions bot commented Apr 26, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 258a49a

+| ✅ 159 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

✅ Tests passed:

Run details

  • nf-core/tools version 2.8
  • Run at 2023-05-31 13:16:38

@jfy133
Copy link
Member Author

jfy133 commented May 10, 2023

Status:

  1. samplesheet_check breaks if protein or feature is not phyiscally there, but should be OK if it's empty
  2. current issue if gff is missing
  3. if all columns filled, dump looks good for the input_check (need to now do a filter to send ORFs to skip annotation, and drop the channel elements for those not skipping annotation)

Copy link
Contributor

@Midnighter Midnighter left a comment

Choose a reason for hiding this comment

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

These two changes should make the columns optional. Maybe you can add a comment making that clear.

bin/check_samplesheet.py Outdated Show resolved Hide resolved
bin/check_samplesheet.py Outdated Show resolved Hide resolved
@jfy133
Copy link
Member Author

jfy133 commented May 31, 2023

Done: synced with latest dev (With template)

To do:

  • Add to test datasets new samplesheet
  • Update test.configs
  • Test BGC workflow with and without supplied features files

To consider (separate PR):

  • Drop samplesheet check python entirely and switch to groovy valdiation; this would make row.protein and row.feature properly optional

@jfy133
Copy link
Member Author

jfy133 commented Jul 12, 2023

Update: maybe make it possible to run just annotation (to get rid of that horrible if/else statement)?

@jfy133
Copy link
Member Author

jfy133 commented Jul 19, 2023

Once #285 is merged, should sync with dev and replace the samplesheet input. This should make this much easier with input validation, which keeps breaking for some reason

@jfy133
Copy link
Member Author

jfy133 commented Jul 26, 2023

I'm going to start from scratch as there are a lot of improvements that make this better

@jfy133 jfy133 closed this Nov 8, 2023
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