Comments (7)
@saramonzon @svarona have you come across anything like this? What's the best fix?
from viralrecon.
Yes, this is the fix included in dev, for bcftools consensus as varscan has been dropped!
from viralrecon.
Running viralrecon
with --callers varscan2,ivar
we get the following log:
Caused by:
Process `VARSCAN2_CONSENSUS (Lib1)` terminated with an error exit status (2)
Command executed:
cat MN908947_nCoV_2019_Wuhan.fa | bcftools consensus Lib1.AF0.75.vcf.gz > Lib1.AF0.75.consensus.fa
bedtools genomecov \
-bga \
-ibam Lib1.trim.mkD.sorted.bam \
-g MN908947_nCoV_2019_Wuhan.fa \
| awk '$4 < 10' | bedtools merge > Lib1.AF0.75.mask.bed
bedtools maskfasta \
-fi Lib1.AF0.75.consensus.fa \
-bed Lib1.AF0.75.mask.bed \
-fo Lib1.AF0.75.consensus.masked.fa
header=$(head -n 1 Lib1.AF0.75.consensus.masked.fa | sed 's/>//g')
sed -i "s/${header}/Lib1/g" Lib1.AF0.75.consensus.masked.fa
plot_base_density.r --fasta_files Lib1.AF0.75.consensus.masked.fa --prefixes Lib1.AF0.75 --output_dir ./
So it looks very similar.
from viralrecon.
It looks like the pipeline requires a liftOver
at different places.
You can run bcftools consensus
with --chain
to write a chain file for liftOver
, and then run liftOver
for the *.mask.bed
file.
from viralrecon.
This should have been fix in #146. Be great if you can test the code on dev
and close this issue if that's the case @ktrns 🙂 Apologies for the delay in getting around to merging.
from viralrecon.
I assume this is now fixed @saramonzon?
from viralrecon.
Ping @saramonzon
from viralrecon.
Related Issues (20)
- [bug] Fails to find FASTQ files when stored on S3
- epi2me-labs/wf-cnv failed during analysis HOT 7
- Allow viralrecon to take gtf as input annotation file
- primer_set is not taking param
- Artic v5 mismatched primer names in artic-ncov2019 repo cause certain amplicons to be erroneously filtered/removed
- Add QIAseq DIRECT SARS-CoV-2 Kit amplicons
- Argument input-fasta is missing in NFCORE_VIRALRECON:ILLUMINA:CONSENSUS_BCFTOOLS:CONSENSUS_QC:NEXTCLADE_RUN" HOT 4
- Problem installing viralrecon
- Adding "aggregate" and "plot" methods in the freyja subworkflow HOT 4
- Error running version 2.6.0 with Nanopore data in process NFCORE_VIRALRECON:NANOPORE:ARTIC_MINION
- Unable to download the python script HOT 3
- Split authors in generated RO crate
- Adding "--grouplineages" parameter in the nf-core/viralrecon HOT 3
- Make cutadapt primer's position ext.arg
- Properly deal with multiqc in the config files before the next release HOT 3
- Temp file problem in VARIANTS_IVAR:BCFTOOLS_SORT HOT 1
- Allow skipping `freyja boot` HOT 1
- `MOSDEPTH_AMPLICON` doesn't run in `dev` branch HOT 1
- Non-SCV2 amplicon run returns consensus genomes with no low-coverage masking HOT 4
- nf-core/viralrecon run halted due to R version clash HOT 1
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 viralrecon.