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

allow sequencing_center to be passed as an optional input to demux_launcher #844

Merged
merged 3 commits into from
Jul 10, 2018

Conversation

tomkinsc
Copy link
Member

With this PR, sequencing_center can be passed as an optional input to the demux_launcher DNAnexus applet; this allows each job spawning a demux (uploader laptops, etc.) to set the sequencing center at upload time

…uncher

allow sequencing_center to be passed as an optional input to demux_launcher; this allows each job spawning a demux (uploader laptops, etc.) to set the sequencing center at upload time
- name: sequencing_center
class: string
optional: true
help: Optional- the name of the sequencing center specified in the demultiplexing output (bam files)
Copy link
Member

Choose a reason for hiding this comment

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

Note in the help string here that the value should avoid any spaces or special characters? Beats having to escape and support all those scenarios.

Copy link
Member Author

Choose a reason for hiding this comment

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

We could process the value passed for sequencing center via util.file.string_to_file_name() in illumina.py?

Copy link
Member

Choose a reason for hiding this comment

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

I'm not assuming that this yml has access to our python util.file. In fact the runSpec looks a bit more bash-like. I'm not worried about the downstream stuff, I'm more worried about your actual runcmd just below if someone entered a sequencing center like "My Sequencing Center".

Copy link
Member Author

Choose a reason for hiding this comment

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

That makes sense. I suppose I'll escape the input in illumina.py just to be safe, and also mention in the help text to avoid spaces and special characters.

…void spaces in the DNAnexus applet demux_launcher

spaces may cause issues for the bash-like demux_launcher applet script
@tomkinsc tomkinsc merged commit e5ae663 into master Jul 10, 2018
@tomkinsc tomkinsc deleted the ct-additional-demux-launcher-inputs branch July 10, 2018 19:17
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