sdparekh / zUMIs

zUMIs: A fast and flexible pipeline to process RNA sequencing data with UMIs
GNU General Public License v3.0
275 stars 67 forks source link

Errors on zUMIs.sh: command substitution: line 235: `cut -d' ' -f1 <(echo ${fqfiles}))' #244

Closed loverlyday closed 3 years ago

loverlyday commented 3 years ago

hi, i get a error like this: You provided these parameters: YAML file: run2.yaml zUMIs directory: /home/xxx/biosoft/zUMIs-main STAR executable STAR samtools executable samtools pigz executable pigz Rscript executable Rscript RAM limit: 100 zUMIs version 2.9.4f

Thu Jan 28 10:16:40 CST 2021 WARNING: The STAR version used for mapping is 2.7.3a and the STAR index was created using the version 2.7.1a. This may lead to an error while mapping. If you encounter any errors at the mapping stage, please make sure to create the STAR index using STAR 2.7.3a. Filtering... /home/xxx/biosoft/zUMIs-main/zUMIs.sh: command substitution: line 235: syntax error near unexpected token (' /home/xxx/biosoft/zUMIs-main/zUMIs.sh: command substitution: line 235:cut -d' ' -f1 <(echo ${fqfiles}))'

the yaml file like this: project: no10A sequence_files: file1: name: /home/xxx/smartseq3/test/L3_R1.fastq.gz base_definition:

it is so strange that i can't find why.The zUMIs works fine yesterday,but get the error now.I can't figure out what happened. Can you suggest a solution? Thanks

sdparekh commented 3 years ago

Can you show a couple of reads from your fastq file

cziegenhain commented 3 years ago

i agree with @sdparekh that a look into the fastq file would be helpful. Otherwise could it also be a formatting/indentation issue in the YAML config file? Happy to check that if you attach it as a file instead of copying the text (which loses the indentation in GitHub).

loverlyday commented 3 years ago

thank a lot .I have solved it.use the command: bash zUMIs.sh -y xxx.yaml rather than sh zUMIs.sh -y xxx.yaml