Comments (3)
both tools were decompressing under the hood, which I didn't know either of them could
Huh! No worries! I never knew they did either. Good to know :)
from nextclade.
Hi Theo @theosanderson!
I cannot reproduce. I tried this:
docker run -it --rm nextstrain/nextclade:2.14.0 bash -c "set -euxo pipefail \
&& apt-get update >/dev/null \
&& apt-get install --yes file gzip >/dev/null \
&& nextclade dataset get --name=sars-cov-2 --output-dir=data/sars-cov-2 \
&& nextclade run --input-dataset=data/sars-cov-2 --input-ref=data/sars-cov-2/reference.fasta --input-gene-map=data/sars-cov-2/genemap.gff --genes=E,M,N,ORF1a,ORF1b,ORF3a,ORF6,ORF7a,ORF7b,ORF8,ORF9b,S --input-tree=data/sars-cov-2/tree.json --input-qc-config=data/sars-cov-2/qc.json --input-pcr-primers=data/sars-cov-2/primers.csv --input-virus-properties=data/sars-cov-2/virus_properties.json --output-tsv=output/nextclade.tsv.gz data/sars-cov-2/sequences.fasta \
&& file output/nextclade.tsv.gz \
&& gzip -t -v output/nextclade.tsv.gz \
"
Results:
debconf: delaying package configuration, since apt-utils is not installed
output/nextclade.tsv.gz: gzip compressed data, original size modulo 2^32 175624
output/nextclade.tsv.gz: OK
How do you check that the output file is not compressed? Can you provide some more steps to reproduce?
In terms of implementation, I believe that all created files go though this line:
including in the CSV/TSV file writer:
But let's see if something weird is happening
from nextclade.
I also can't reproduce. I was wrong. I am really sorry to have wasted your time on this. Thank you for writing such a detailed reply.
To explain what happened: I normally work on a system where less
and wc
both don't work on compressed files. I absent mindedly used wc -l
to monitor a big gzipped Nextclade output (on a different system) and was surprised when it worked. I tried to "double-check" by "looking at the actual contents" with less
, and that worked too so I thought it was plaintext. But actually both tools were decompressing under the hood, which I didn't know either of them could.
Really sorry again to have taken up your time! Thank you for Nextclade - it's wonderful.
from nextclade.
Related Issues (20)
- Custom datasets via URL param `dataset-url` HOT 5
- ENH: Show private aa substitutions in mutations tooltip HOT 1
- BUG(web/table): Empty strings make sort misbehave, not sort properly HOT 2
- Unaliased Pango Lineage column gone? HOT 15
- ENH(web): Allow us to hide a dataset from the dataset selector HOT 2
- Make Installation docs more prominent rather than GitHub releases? HOT 1
- [v3] error attaching nodes to tree HOT 3
- Files required to configure a custom dataset when using nextclade for pathogens not provided by nextclade HOT 2
- Can Nextclade be used for HIV data? HOT 2
- why nextclade.csv download from the website can not in good format in excel? HOT 3
- Mutations relative to different references HOT 1
- Incorporation of enterovirus dataset into nextalde docker container HOT 1
- Include aligned sequences and translations in ndjson
- ENH(nextalign cli): show default values in --help usage statement HOT 4
- Maximum Sequence Limit? HOT 2
- Web: Grey scale coloring for region/country/divison if scale not predefined in reference tree HOT 5
- How to decide if the reversionSubstitutions are valid variants or not and whether to keep them? HOT 2
- Direct Auspice SVG Download
- ENH: enlarge Visualization when more nucleotides/Codons even if mutations not fall in striclty adjacent codons but close enough to need a whole view. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextclade.