Git Product home page Git Product logo

subsampler's People

Contributors

andersonbrito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

subsampler's Issues

ValueError Troubleshoot

I keep receiving a ValueError code. I've tried using the default values and the correct formatted values and there is no change in the error message.

snakemake correct_bias
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 4
Rules claiming more threads will be scaled down.
Job counts:
count jobs
1 correct_bias
1 epiweek_conversion
1 genome_matrix
3

[Sun Sep 12 14:47:08 2021]
Job 2:
Generate matrix of genome counts per day, for each element in column="code"

  • Loading genome metadata

  • Converting code into codes (acronyms)

  • Removing genomes with incomplete dates

  • Filtering genomes by start and end dates

  • Available genomes

Traceback (most recent call last):
File "scripts/get_genome_matrix.py", line 171, in
print('\tOldest collected sampled = ' + df[date_col].min().strftime('%Y-%m-%d'))
File "pandas/_libs/tslibs/nattype.pyx", line 60, in pandas._libs.tslibs.nattype._make_error_func.f
ValueError: NaTType does not support strftime
[Sun Sep 12 14:47:09 2021]
Error in rule genome_matrix:
jobid: 2
output: outputs/genome_matrix_days.tsv
shell:

	python3 scripts/get_genome_matrix.py 			--metadata data/metadata_nextstrain.tsv 			--index-column code 			--extra-columns country 			--date-column date 			--output outputs/genome_matrix_days.tsv
	
    (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

Is there a recommendation to remedy this?

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.