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

Added simple autocycler_wrapper helper script #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iskold
Copy link

@iskold iskold commented Jan 8, 2025

Hi Ryan!

This helper script is a wrapper for the autocycler workflow based on the documentation.
In addition, it saves all the output in a user-specific folder and uses lrge if it is available in the system path.

I wasn't sure how to make a pull request for the wiki, but here is my suggested addition to the wiki as a section at the bottom of https://github.com/rrwick/Autocycler/wiki/Fully-automated-assembly:

Hope this PR makes sense! Feel free to edit and change (or reject) as you like.

Running Autocycler as a single command using a wrapper
There is a wrapper script that does the above example where you can also specify the name of the output folder. It can be run in the following way (using the default parameters of 4 read subsets and 16 threads) where it will save the output in a folder called 'autocycler_out':

autocycler_wrapper.sh ont.fastq.gz autocycler_out 4 16

The above example is useful if you wish to run autocycler on many samples in the same folder.

It's general usage is: autocycler_wrapper.sh <reads> <output_folder> <read_partitions> <threads>

This helper script is a wrapper for the autocycler  workflow. It saves all the output in a specific folder and uses lrge if it is available in the system path.
@iskold
Copy link
Author

iskold commented Jan 8, 2025

I forgot to write, that I took the liberty to comment out the 'lja' assembler from the conda environment yaml file, as it conflicts with the latest (and final!) canu release version 2.3. The logic is that the example in the documentation uses canu and not lja, so I assumed most users would prefer to have the latest version of canu instead.

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.

1 participant