8000 Fix combine step with many sc files by mjz1 · Pull Request #74 · stjude/CICERO · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix combine step with many sc files #74

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

Merged
merged 2 commits into from
Aug 11, 2021
Merged

Conversation

mjz1
Copy link
Contributor
@mjz1 mjz1 commented Aug 11, 2021

Using find and xargs

Fixes #73

Copy link
Member
@adthrasher adthrasher left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution. I don't think the sort would match with the provided change. I think you would need to do something like find $CICERO_DATADIR/$SAMPLE/*/ -type f -name 'unfiltered.fusion.txt' -print0 | sort -zV | xargs -0 cat | sort -k 9,9 -k 10,10n -k 11,11n to get the file contents sorted. My suggested change is to do the cat of each file as part of the find command and then sort the content directly.

Co-authored-by: Andrew Thrasher <adthrasher@gmail.com>
@adthrasher adthrasher merged commit a1b5737 into stjude:master Aug 11, 2021
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.

Combine error with many putative fusions
2 participants
0