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

Replace generate_samplesheet.sh with generate_samplesheet.py #155

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

harmonbhasin
Copy link
Collaborator

Ported the script over to python, tested it on the following combinations:

  • local: single end
  • local: paired end
  • s3: single end
  • s3: paired end
  • s3: paired end group_file
  • s3: paired end group_across_illumina_lanes

I also added some new exceptions, such as throwing an error if the user has s3 in their dir_path and hasn't passed the s3 flag, and thorwing an error if the user specifies single-end but has forward and reverse suffix.

…t indexes the first element. To fix this, we can grep for all columns with 'YT:Z:' which should only capture the column that we're interested in.
@harmonbhasin harmonbhasin changed the base branch from master to dev January 22, 2025 20:25
@harmonbhasin
Copy link
Collaborator Author

Going to push the change for Jeff's error message.

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