当前位置:网站首页>November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)
November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)
2022-06-30 07:37:00 【Muyiqing】
List of articles
- Abstract
- Problem summary
- (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
- NameError: The name 'XXX' is unknown in this context. Please make sure that you defined that variable. Also note that braces not used for variable access have to be escaped by repeating them, i.e. { {XXX}}
- EOL while scanning string literal
- The flag 'directory' used in rule merge_anno is only valid for outputs, not inputs.Building DAG of jobs... ChildIOException:File/directory is a child to another output:('./10_1_CGPDDS210602_20210713/04.Annotation/pSM620', dfast)('./10_1_CGPDDS210602_20210713/04.Annotation/pSM620/all_anno_upset.png', plot)
- Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory:
- summary
Abstract
As you continue to learn , There are too many processes ,snakemake There are many problems , The previous one snakemake FAQ summary ( On ) A part has been summarized , Today, I would like to add some other problems encountered .
Problem summary
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
rule That's all right. , But an error is reported after the command is executed , The command needs to be tested separately .
shell Special symbols in (’’/{} etc. ) Yes shell Executing a command has an impact , Especially in use awk perhaps sed On command , There are always problems , Some require backslashes in front of special symbols , Comment out the meaning of special symbols .
NameError: The name ‘XXX’ is unknown in this context. Please make sure that you defined that variable. Also note that braces not used for variable access have to be escaped by repeating them, i.e. { {XXX}}
shell The curly brackets in mainly refer to input and output Content , If it is shell The command reference , Double curly braces are required .
EOL while scanning string literal
There are too many or too few double quotation marks
The flag ‘directory’ used in rule merge_anno is only valid for outputs, not inputs.Building DAG of jobs… ChildIOException:File/directory is a child to another output:(’./10_1_CGPDDS210602_20210713/04.Annotation/pSM620’, dfast)(’./10_1_CGPDDS210602_20210713/04.Annotation/pSM620/all_anno_upset.png’, plot)
In front of the process rule Generated Output folder Can not be used as the back rule The output file The path of .
Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory:
The previous execution was interrupted suddenly (ctrl+z), Need to use --unlock Parameter to release folder restrictions
summary
About snakemake Most of these two questions cover , There may be some snakemake Advanced skills presentation , such as if Application , Of course, we should learn it well before we can sort it out for everyone , Welcome to join the group , Scan code or add vx:bbplayer2021, Invite in 
边栏推荐
- Periodic planning work
- 手机开户股票开户安全吗?开户需要准备什么?
- 期末复习-PHP学习笔记2-PHP语言基础
- Xiashuo think tank: 125 planet updates reported today (packed with 101 meta universe collections)
- 02 - bare metal and RTOS development modes: five development modes of bare metal and the introduction of RTOS
- LabVIEW program code update is slow
- Shell command, how much do you know?
- 期末複習-PHP學習筆記5-PHP數組
- 25岁,从天坑行业提桶跑路,在经历千辛万苦转行程序员,属于我的春天终于来了
- Final review -php learning notes 6- string processing
猜你喜欢

Adjacency matrix representation of weighted undirected graph (implemented in C language)

Investment and financing analysis report of Supply Chain & logistics industry in 2021

Basic knowledge points

Sublime text 3 configuring the C language running environment

期末复习-PHP学习笔记3-PHP流程控制语句

Video player (I): process

Analysys analysis: online audio content consumption market analysis 2022

2021 private equity fund market report (62 pages)

Final review -php learning notes 11-php-pdo database abstraction layer

记录开发过程中无法使用管理员身份修改系统文件问题
随机推荐
next InitializeSecurityContext failed: Unknown error (0x80092012) - 吊销功能无法检查证书是否吊销。
Embedded test process
DXP software uses shortcut keys
How to batch modify packaging for DXP schematic diagram
期末複習-PHP學習筆記5-PHP數組
Self study notes -- use of 74h573
Final review -php learning notes 9-php session control
Introduction notes to pytorch deep learning (10) neural network convolution layer
STM32 register on LED
视频播放器(二):视频解码
Network, network card and IP configuration
Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
Adjacency matrix representation of weighted undirected graph (implemented in C language)
DXP shortcut key
Program acceleration
Socket socket programming -- UDP
Thread pool - C language
線程池——C語言
2022 retail industry strategy: three strategies for consumer goods gold digging (in depth)
STM32 register