Other than these large number of warnings I receive the following error:
Error in rule align:
jobid: 11
output: results/aligned_data.fasta.xz, results/insertions_data.tsv, results/translations/seqs_data.gene.ORF1a.fasta.xz, results/translations/seqs_data.gene.ORF1b.fasta.xz, results/translations/seqs_data.gene.S.fasta.xz, results/translations/seqs_data.gene.ORF3a.fasta.xz, results/translations/seqs_data.gene.M.fasta.xz, results/translations/seqs_data.gene.N.fasta.xz
log: logs/align_data.txt (check log file(s) for error message)
shell:
python3 scripts/sanitize_sequences.py --sequences data/sequences.fasta --strip-prefixes hCoV-19/ SARS-CoV-2/ --output /dev/stdout 2> logs/sanitize_sequences_data.txt | nextalign --jobs=8 --reference defaults/reference_seq.fasta --genemap defaults/annotation.gff --genes ORF1a,ORF1b,S,ORF3a,M,N --sequences /dev/stdin --output-dir results/translations --output-basename seqs_data --output-fasta results/aligned_data.fasta --output-insertions results/insertions_data.tsv > logs/align_data.txt 2>&1;
xz -2 results/aligned_data.fasta;
xz -2 results/translations/seqs_data*.fasta
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
Logfile logs/align_data.txt:
Could you please help me with this.
This is the complete picture of what I get in my terminal
Select jobs to execute…
[Sat Jul 3 00:42:25 2021]
Job 11:
Aligning sequences to defaults/reference_seq.fasta
- gaps relative to reference are considered real
python3 scripts/sanitize_sequences.py --sequences data/sequences.fasta --strip-prefixes hCoV-19/ SARS-CoV-2/ --output /dev/stdout 2> logs/sanitize_sequences_data.txt | nextalign --jobs=8 --reference defaults/reference_seq.fasta --genemap defaults/annotation.gff --genes ORF1a,ORF1b,S,ORF3a,M,N --sequences /dev/stdin --output-dir results/translations --output-basename seqs_data --output-fasta results/aligned_data.fasta --output-insertions results/insertions_data.tsv > logs/align_data.txt 2>&1;
xz -2 results/aligned_data.fasta;
xz -2 results/translations/seqs_data*.fasta
[Sat Jul 3 00:42:25 2021]
rule clade_files:
input: defaults/clades.tsv
output: results/global/clades.tsv
jobid: 48
benchmark: benchmarks/clade_files_global.txt
wildcards: build_name=global
cat defaults/clades.tsv > results/global/clades.tsv
[Sat Jul 3 00:42:25 2021]
rule sanitize_metadata:
input: data/metadata.tsv
output: results/sanitized_metadata_data.tsv.xz
log: logs/sanitize_metadata_data.txt
jobid: 12
benchmark: benchmarks/sanitize_metadata_data.txt
wildcards: origin=data
python3 scripts/sanitize_metadata.py --metadata data/metadata.tsv --parse-location-field Location --rename-fields 'Virus name=strain' Type=type 'Accession ID=gisaid_epi_isl' 'Collection date=date' 'Additional location information=additional_location_information' 'Sequence length=length' Host=host 'Patient age=patient_age' Gender=sex Clade=GISAID_clade 'Pango lineage=pango_lineage' 'Pangolin version=pangolin_version' Variant=variant 'AA Substitutions=aa_substitutions' aaSubtitutions=aa_substitutions 'Submission date=date_submitted' 'Is reference?=is_reference' 'Is complete?=is_complete' 'Is high coverage?=is_high_coverage' 'Is low coverage?=is_low_coverage' N-Content=n_content GC-Content=gc_content --strip-prefixes hCoV-19/ SARS-CoV-2/ --output results/sanitized_metadata_data.tsv.xz 2>&1 | tee logs/sanitize_metadata_data.txt
[Sat Jul 3 00:42:25 2021]
rule clade_files:
input: defaults/clades.tsv
output: results/north-america_usa/clades.tsv
jobid: 26
benchmark: benchmarks/clade_files_north-america_usa.txt
wildcards: build_name=north-america_usa
cat defaults/clades.tsv > results/north-america_usa/clades.tsv
[Sat Jul 3 00:42:25 2021]
Finished job 48.
1 of 56 steps (2%) done
[Sat Jul 3 00:42:25 2021]
Finished job 26.
2 of 56 steps (4%) done
/bin/bash: line 1: 98709 Killed: 9 python3 scripts/sanitize_sequences.py --sequences data/sequences.fasta --strip-prefixes hCoV-19/ SARS-CoV-2/ --output /dev/stdout 2> logs/sanitize_sequences_data.txt
98711 Done | nextalign --jobs=8 --reference defaults/reference_seq.fasta --genemap defaults/annotation.gff --genes ORF1a,ORF1b,S,ORF3a,M,N --sequences /dev/stdin --output-dir results/translations --output-basename seqs_data --output-fasta results/aligned_data.fasta --output-insertions results/insertions_data.tsv > logs/align_data.txt 2>&1
[Sat Jul 3 00:51:43 2021]
Error in rule align:
jobid: 11
output: results/aligned_data.fasta.xz, results/insertions_data.tsv, results/translations/seqs_data.gene.ORF1a.fasta.xz, results/translations/seqs_data.gene.ORF1b.fasta.xz, results/translations/seqs_data.gene.S.fasta.xz, results/translations/seqs_data.gene.ORF3a.fasta.xz, results/translations/seqs_data.gene.M.fasta.xz, results/translations/seqs_data.gene.N.fasta.xz
log: logs/align_data.txt (check log file(s) for error message)
shell:
python3 scripts/sanitize_sequences.py --sequences data/sequences.fasta --strip-prefixes hCoV-19/ SARS-CoV-2/ --output /dev/stdout 2> logs/sanitize_sequences_data.txt | nextalign --jobs=8 --reference defaults/reference_seq.fasta --genemap defaults/annotation.gff --genes ORF1a,ORF1b,S,ORF3a,M,N --sequences /dev/stdin --output-dir results/translations --output-basename seqs_data --output-fasta results/aligned_data.fasta --output-insertions results/insertions_data.tsv > logs/align_data.txt 2>&1;
xz -2 results/aligned_data.fasta;
xz -2 results/translations/seqs_data*.fasta
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)