Skip to content

renaming and editing - #41

Merged
linsalrob merged 3 commits into
mainfrom
renaming
Aug 6, 2026
Merged

renaming and editing#41
linsalrob merged 3 commits into
mainfrom
renaming

Conversation

@linsalrob

Copy link
Copy Markdown
Owner

This pull request updates the assembly workflow documentation and scripts to use the megahit_allreads.slurm script instead of megahit_hostremoved.slurm, and adds instructions for performing individual assemblies and merging them. The changes also include a file rename and minor output path adjustments.

Workflow and documentation updates:

  • Updated all references and job submissions in README.md to use the new megahit_allreads.slurm script instead of megahit_hostremoved.slurm. [1] [2] [3]
  • Added instructions for running individual assemblies and merging them with contigger in the README.md.

Script and file changes:

  • Renamed megahit_hostremoved.slurm to megahit_allreads.slurm and updated output/error log paths to slurm_output/%x-%j.out and slurm_output/%x-%j.err.

Copilot AI lite review requested due to automatic review settings August 6, 2026 01:55
@linsalrob

Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts in this pull request

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f91b01ec4a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


```
MEGAHITHR=$(sbatch --parsable --dependency=afterok:$HOSTJOB $PAWSEY_SRC/megahit_hostremoved.slurm)
MEGAHITHR=$(sbatch --parsable --dependency=afterok:$HOSTJOB $PAWSEY_SRC/megahit_allreads.slurm)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update the quick-start after renaming the assembly script

When users follow docs/quickstart.md with the documented Pawsey profile, step 9 still submits megahit_hostremoved.slurm. This commit removes that path in favor of megahit_allreads.slurm, so the quick-start assembly submission now fails before a job is created; update that command as part of the rename.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Pawsey short-read assembly workflow documentation and Slurm submission script naming to standardize on megahit_allreads.slurm, and starts documenting an alternative “individual assemblies + merge” path.

Changes:

  • Switched job-submission examples in pawsey_shortread/README.md from megahit_hostremoved.slurm to megahit_allreads.slurm.
  • Added a new README subsection describing individual per-sample assemblies followed by a contigger merge step (currently incomplete).
  • Adjusted Slurm stdout/stderr output paths in pawsey_shortread/megahit_allreads.slurm.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pawsey_shortread/README.md Updates workflow instructions to use megahit_allreads.slurm and adds an (incomplete) individual-assembly + contigger merge subsection.
pawsey_shortread/megahit_allreads.slurm Changes Slurm log output/error paths for the megahit_allreads job.
Suppressed comments (2)

pawsey_shortread/megahit_allreads.slurm:9

  • This script writes Slurm logs directly under slurm_output/, but other MEGAHIT scripts in the repo (including pawsey_shortread/megahit.slurm) use slurm_output/megahit_slurm/. Keeping the same subdirectory avoids mixing logs from different steps and matches existing mkdir -p slurm_output/megahit_slurm instructions elsewhere.
    pawsey_shortread/README.md:278
  • This paragraph says the --continue flag should be active, but in megahit_allreads.slurm the --continue invocation is currently commented out. Reword this to instruct users to uncomment --continue when resuming an interrupted run (and fix the typo “interuppted”).
Assemble using the `megahit_allreads.slurm` script above. This will take a while to run, so do it early! Also note that `megahit` can continue if it is interuppted. Make sure the `--continue` flag is active 
in the `megahit_allreads.slurm` script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +149 to +152
Then, merge the assemblies with contigger:

```
TBD!

```
MEGAHITHR=$(sbatch --parsable --dependency=afterok:$HOSTJOB $PAWSEY_SRC/megahit_hostremoved.slurm)
MEGAHITHR=$(sbatch --parsable --dependency=afterok:$HOSTJOB $PAWSEY_SRC/megahit_allreads.slurm)
Co-authored-by: linsalrob <836231+linsalrob@users.noreply.github.com>

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved by merging origin/main into this branch and reconciling the PR state. Commit: ca8b45c.

Co-authored-by: linsalrob <836231+linsalrob@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 6, 2026 02:05
@linsalrob
linsalrob merged commit 3f6562b into main Aug 6, 2026
1 check passed
@linsalrob
linsalrob deleted the renaming branch August 6, 2026 02:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (2)

pawsey_shortread/README.md:153

  • This section introduces an optional contigger merge workflow but leaves a TBD! placeholder inside a code block. As-is, users can’t run the documented workflow; please either add the actual contigger command(s) and expected inputs/outputs, or remove this subsection until it’s ready.
Then, merge the assemblies with contigger:

TBD!

pawsey_shortread/README.md:278

  • Typo in the documentation: interuppted should be interrupted (and this sentence currently has a trailing space after active).
Assemble using the `megahit_allreads.slurm` script above. This will take a while to run, so do it early! Also note that `megahit` can continue if it is interuppted. Make sure the `--continue` flag is active 
in the `megahit_allreads.slurm` script.

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.

3 participants