hepcat72 / htseq2multx Goto Github PK
View Code? Open in Web Editor NEWWrapper to fastq-multx to have it mimmic barcode_splitter and thus easily integrate with Princeton's HTSEQ web interface
License: MIT License
Wrapper to fastq-multx to have it mimmic barcode_splitter and thus easily integrate with Princeton's HTSEQ web interface
License: MIT License
Which would change the goal stated in the requirements on line 5:
https://github.com/PrincetonUniversity/htseq/pull/88/files#diff-3c65b2d41a08a66bc1dbaf00ebf795a7R5
I don't think that the check on the tab character is necessary anymore, but in the absence of documentation explaining why it was put there, there's no way to know for sure.
In fact, with the new accurate monitoring of the exit code of the fastq-multx executable via IO::Pipe::Producer v2.02
, using STDERR content to make errors fatal may be unnecessary as well.
Try removing the tab check and see if things work. If they don't, but it back and document why it's there.
Yeah, I also struggled over the tab and decided to err on the side of keeping the behavior consistent. I think it's entirely possible that I'd added the tab requirement to mitigate cases where $CHILD_ERROR
was non-zero in the original code yet the output was complete. I wish I'd documented why I put that tab-case there.
I suspect that I had mis-remembered how IO::Pipe::Producer
exits and that the child could have been exiting non-zero for a legitimate reason despite it looking successful, but I feel like I remember finding code in fastq-multx source where it was exiting non-0 for an inane reason.
It could be that I have fixed things such that it won't inappropriately exit non-0, in which case the tab check is unnecessary. Unfortunately, the only way to find out would be in the wild. So what do you think? Should I remove the tab check and risk a job failing so that I can improve this code or err on the side of consistency?
Originally posted by @hepcat72 in #9 (comment)
It would be nice to have the tests automated in some continuous integration system, GitHub actions, Travis, CircleCI, etc.
Error: Unable to process command '::add-path::/home/runner/work/htseq2multx/htseq2multx/fastq-multx' successfully.
[9](https://github.com/hepcat72/htseq2multx/runs/7620069135?check_suite_focus=true#step:3:10)
Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Line 536 seems to be generating an error on my system.
Line 536 in 916e9aa
sh: 1: Syntax error: Bad fd number
The following extra and modified options apply specifically to the htseq2multx.pl wrapper (as opposed to barcode_splitter).
optional arguments:
-h, --help Supply twice to show this message and exit.
--version Supply once to get the barcode_splitter version that
this wrapper emulates. Supply twice to get a more
verbose version of the barcode_splitter version that
this wrapper emulates and the version of this wrapper.
configuration arguments:
--fastq-multx PATH Path to the fastq-multx installation. Default is to use
the PATH in the user's environment.
--debug Supply this flag to output the fastq-multx command on
standard error and not delete the temporary barcode
file.
ERROR: The fastq-multx executable appears to not be fastq-multx according to the first 2 lines of its usage. Use the --fastq-multx option described above to supply fastq-multx.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.