-
Notifications
You must be signed in to change notification settings - Fork 0
Description
@daler I have played with different options trying to get preseq tests to pass with no luck. The tests work with another BAM that I had laying around. I think the best solution is to generate a larger FASTQ file.
This is a good opportunity to move from downloading to generating files on the fly using the fixture interface. We could then have a "big_bam" fixture that would write a larger fastq file, etc.
If you agree this is the right approach there are two big questions.
-
Where should fixtures live. I played with this sum and fixtures can be imported as any other module. So theoretically we could simply build another module (or add to lcdblib) a
fixtures.pyand import that into testfrom module.fixtures import * -
How should we generate files. We could either use wrappers or hard code things themselves. Both methods have advantages and disadvantages.
- Wrappers are nice because they are already set up (i.e. code and conda envs), but to use fixtures in other modules we would have to make this repository pip installable; also testing wrappers using test files generated by wrappers seems a little strange.
- Hardcoded would be more portable, but then we would have to deal with environments and write all of the commands outs which seems silly.