-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add jbrowse sort-gff
subcommand
#4032
Conversation
Usage
|
Codecov Report
@@ Coverage Diff @@
## main #4032 +/- ##
==========================================
+ Coverage 63.68% 63.70% +0.02%
==========================================
Files 1026 1027 +1
Lines 30251 30260 +9
Branches 7199 7201 +2
==========================================
+ Hits 19264 19276 +12
+ Misses 10822 10817 -5
- Partials 165 167 +2
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
any thoughts on adding this to CLI @garrettjstevens ? |
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.
Yeah, looks good to me. sort
does exist on Windows, but since grep
does not, it should properly error out there. Also I think these commands should work on BSD sort
/grep
as well as GNU.
It could be worth a note in the description that this will not preserve the locations of comments or ###
sync directives, although that's the same probably no matter how you sort it.
excellent, updated description. It actually now checks for 'sh' too because it uses 'sh' to launch the subshell syntax that is being used |
This helps automate the sorting of a gff, which can require tedious typing
This could be used in the Current Protocols paper also as a way to reduce steps
Assumes a unix-y type system with sh, sort, grep