Giter VIP home page Giter VIP logo

catfishq's People

Contributors

janleipzig avatar philres avatar rfetherston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

catfishq's Issues

Timestamp parsing error

Catfishq returns a timestamp parsing error when using --print-start-time command on FASTQ files generated by Guppy version โ€œ5.0.16+b9fcd7bโ€, likely due to a change in the timestamp format.

Python 3.8, catfishq 1.1.5, pysam 0.17.0

catfishq --print-start-time -r fastq_pass/
Traceback (most recent call last):
  File "/miniconda3/bin/catfishq", line 8, in <module>
    sys.exit(main())
  File "/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 351, in main
    min_start_time=get_start_time(args.FASTQ,args.RECURSIVE)
  File "/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 264, in get_start_time
    min_start_time=compare_start_time(entry.comment,min_start_time)
  File "/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 206, in compare_start_time
    start_time = datetime.strptime(start_time_str,'%Y-%m-%dT%H:%M:%SZ')
  File "/miniconda3/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/miniconda3/lib/python3.8/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '2021-10-19T04:24:16.235874+01:00' does not match format '%Y-%m-%dT%H:%M:%SZ'

LICENSE file not distributed via PyPI

Hello,
The .tar.gz does not offer any license information. Please consider adding the LICENSE file to the archive and to also specify it in setup.py. Ideally, every source file would mention it.
Many thanks!
Steffen (while packaging catfishq for Debian)

TypeError: Argument must be string or unicode

I get the following error on running the following command on catfishq 1.1.15
catfishq -r flowcell_xyz/ --log DEBUG > catf.fastq

Searching flowcell_xyz/ for FASTQ files
Found 622 files
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/bin/catfishq", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 320, in main
    format_fq(
  File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 285, in format_fq
    for entry in parse_fastqs(
  File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/catfishq/cat_fastq.py", line 201, in parse_fastqs
    with pysam.FastxFile(filename) as fh:
  File "pysam/cfaidx.pyx", line 456, in pysam.cfaidx.FastxFile.__cinit__
  File "pysam/cfaidx.pyx", line 478, in pysam.cfaidx.FastxFile._open
  File "pysam/cutils.pyx", line 107, in pysam.cutils.encode_filename
TypeError: Argument must be string or unicode.

Thank you.

Default start-time behaviour

When running with --max-sequencing-time without --start-time-min the default behaviour is to ignore --max-sequencing-time.

Suggest setting 'start-time-min' to true when --x-sequencing-time is used without --start-time.

Test pyfastx

Is pyfastx faster than pysam for FASTQ parsing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.