Skip to content

Commit 311800e

Browse files
committed
Fixed read mapping bug
1 parent ca89a74 commit 311800e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Metagenomics/Illumina/Workflow_Documentation/NF_MGIllumina-A/workflow_code/modules/create_runsheet.nf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ nextflow.enable.dsl = 2
77
process GET_RUNSHEET {
88

99
beforeScript "chmod +x ${baseDir}/bin/create_runsheet.sh"
10+
tag "Downloading raw fastq files and runsheet for ${accession}..."
1011

1112
input:
1213
val(accession)
@@ -17,7 +18,7 @@ process GET_RUNSHEET {
1718
path("versions.txt"), emit: version
1819
script:
1920
"""
20-
# Download ISA zip file for the GLDS_accession then unzip it
21+
# Download ISA zip file for the GLDS/OSD accession then unzip it
2122
GL-download-GLDS-data -g ${accession} -p ISA -f && unzip *-ISA.zip
2223
2324
if [ ${params.RawFilePattern} == null ];then

Metagenomics/Illumina/Workflow_Documentation/NF_MGIllumina-A/workflow_code/modules/read_mapping.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ process MAPPING {
3030
else
3131
3232
touch ${sample_id}.sam
33+
echo "Mapping not performed for ${sample_id} because the assembly didn't produce anything." > ${sample_id}-mapping-info.txt
3334
printf "Mapping not performed for ${sample_id} because the assembly didn't produce anything.\\n"
3435
3536
fi
@@ -48,6 +49,7 @@ process MAPPING {
4849
else
4950
5051
touch ${sample_id}.sam
52+
echo "Mapping not performed for ${sample_id} because the assembly didn't produce anything." > ${sample_id}-mapping-info.txt
5153
printf "Mapping not performed for ${sample_id} because the assembly didn't produce anything.\\n"
5254
5355
fi

0 commit comments

Comments
 (0)