Changelog
Source:NEWS.md
echotabix 1.0.1
Bug fixes
- Fix
sort_coordinates_bashin-place redirect bug: shell>redirect truncated the input file beforegrepcould read it, producing empty sorted output. Now writes to a temp file and moves it back. - Fix
sort_coordinates_bash“subscript out of bounds” error: validate thatchrom_col,start_col,end_colexist in the file header before accessing column indices. - Fix
construct_queryto validate that start/end positions are not NA before callingIRanges, giving a clear error instead of a cryptic IRanges failure. - All tests now detect position column dynamically (POS or BP) instead of hardcoding, fixing failures when
echodata::BST1uses either name. - Fix
test-run_bgzip: use.tsvinstead of.tsv.gzto avoid double-compression issues withrun_bgzip. - Fix
test-convert: replace destructivetempdir()cleanup with targeted file removal to avoid deleting files needed by later tests.
echotabix 1.0.0
Bug fixes
- Fix column detection logic for tabix query results.
- Fix
test-run_bgzip: recreate temp file for sorted test (consumed by prior unsorted run); coerce CHR type after bgzip roundtrip. - Fix
test-query_vcfandtest-vcf_to_dtassertions to match replacement BST1 VCF (100 rows, 10 samples). - Wrap conda-dependent tests (
test-convert,test-run_gunzip,test-query_tabular) intryCatchto handle missing conda binary. - Add
skip_on_ci()totest-liftover(requires chain file download) and remote VCF query tests. - Fix Rd formatting and
\dontrun{}example guards. - Update install instructions to use
BiocManager::install(). - Fix Codecov icicle graph URL (
codecov.ioinstead ofapp.codecov.io). - Add
Rplots.pdfand*.tbito.gitignore.
echotabix 0.99.8
echotabix 0.99.6
New features
- Updated all functions to use the
basilisk-based echoR_mini conda env, which is now the default forechoconda. - Moved all VCF examples to
example_data. -
convertcan now handle VCFs as well as table inputs (though can only export as the same format). -
query_vcf: Add alternative methods.- “variantannotation”: ideal, but package is broken currently due to issues with
Rsamtools/Rhtslib. - “conda”: Uses
echoconda(default until “variantannotation” is fixed”). - “seqminer”: Generates table, but not fully parsed.
- “rtracklayer”: Generates table, but not fully parsed.
- “variantannotation”: ideal, but package is broken currently due to issues with
- Add “-D” flag to
query_vcf_condato avoid downloading index file.
echotabix 0.99.5
New features
- Condense all query args further into
query_granges. - Added
standardise_colnamesarg toconstruct_query. - Added
check_convert_methodsto validateconvert_methodsarg inconvert().
Bug fixes
- Passing all tests, just not when running Test Package in Rstudio. Weirdly, using the Run Tests button in each test script also works fine. Possibly related to this Issue?
- Add
echoconda::yaml_to_envcall at the beginning of all conda-based functions. - Removed
subset_common_snpsfunction (already inechoLD).