Closed siebrenf closed 2 years ago
Describe the bug when using pysradb search -d ena with the --strategty flag, a value containing a dash fails to produce a result.
pysradb search -d ena
--strategty
--strategy must be one of the following: AMPLICON, ATAC-seq, Bisulfite-Seq, CLONE, CLONEEND, CTS, ChIA-PET, ChIP-Seq, DNase-Hypersensitivity, EST, FAIRE-seq, FINISHING, FL-cDNA, Hi-C, MBD-Seq, MNase-Seq, MRE-Seq, MeDIP-Seq, OTHER, POOLCLONE, RAD-Seq, RIP-Seq, RNA-Seq, SELEX, Synthetic-Long-Read, Targeted-Capture, Tethered Chromatin Conformation Capture, Tn-Seq, VALIDATION, WCS, WGA, WGS, WXS, miRNA-Seq, ncRNA-Seq, ssRNA-seq, GBS
To Reproduce
# these work pysradb search -d sra -m 1 --strategy RNA-seq pysradb search -d geo -m 1 --strategy ATAC-seq pysradb search -d ena -m 1 --strategy WGS # these don't work pysradb search -d ena -m 1 --strategy RNA-seq pysradb search -d ena -m 1 --strategy ChIP-seq pysradb search -d ena -m 1 --strategy ATAC-seq
Desktop (please complete the following information):
Additional context My guess would be its related to your strategy matcher.
Thanks for reporting. I can confirm this is a bug. I will take a deeper look soon. @bscrow
@bscrow fixed this in #144, let us know if you encounter any issues.
Describe the bug when using
pysradb search -d ena
with the--strategty
flag, a value containing a dash fails to produce a result.To Reproduce
Desktop (please complete the following information):
Additional context My guess would be its related to your strategy matcher.