-
Notifications
You must be signed in to change notification settings - Fork 0
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
Outputs Arborator and Arborview Files Associated with Each Cluster #10
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great Eric 😺 ! Love the readability of the saveAs
closure now!
Looks good! No notes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much Eric. This looks great 😄
Could you add some additional test cases or assert statements to verify the appropriate files get created for each partition?
Updated in 8465136 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just made some comments for your consideration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thanks so much Eric 😄
Since there are a dynamic number of clusters, which are determined by sample metadata, this pull request configures the outputs associated with each cluster such that they are provided to the user. The Arborator output directory looks something like this:
and a specific cluster directory ("1/") looks something like this:
Now, the
publishDir
saveAs
closure will check for file paths that contain exactly two file separators and modify their file name so that they become flattened (1_profile.tsv
).The resulting output will look something like this:
The
iridanext.config
file has been updated to capture the files we're interested in (profile.tsv
andmetadata.tsv
) and has been updated to capture the Arborview output as well.Additionally, this pull request contains the small fix related to nf-test being updated, which hasn't been merged into dev yet and is repeated here so that the tests don't fail. This is related fix is related to the recent changes made for nf-test (askimed/nf-test#226). Otherwise, the tests will fail.