首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >命令行遵从性错误

命令行遵从性错误
EN

Stack Overflow用户
提问于 2016-05-05 13:50:45
回答 1查看 271关注 0票数 0

一个班轮遇到了一些问题..。

代码语言:javascript
复制
ls *.fq.gz | cut -f 1 -d . | uniq | perl -pe 'chomp; system "bwa-0.7.9a mem  -M /refs/GATK_bundle_2.3//human_g1k_v37.fasta -R'@RG\tID:Foo\tSM:bar' $_.1.fq.gz $_.2.fq.gz > $_.sam"'

输出是

代码语言:javascript
复制
[E::bwa_set_rg] the read group line is not started with @RG
CLMP10920-1[E::bwa_set_rg] the read group line is not started with @RG
CLMP10920-2[E::bwa_set_rg] the read group line is not started with @RG
CLMP10920-3[E::bwa_set_rg] the read group line is not started with @RG
CLMP10920-4W[E::bwa_set_rg] the read group line is not started with @RG
COL1A110908-1[E::bwa_set_rg] the read group line is not started with @RG
COL1A110908-2[E::bwa_set_rg] the read group line is not started with @RG
COL1A110908-3[E::bwa_set_rg] the read group line is not started with @RG
COL1A110908-4Wgleadalln@mgcl01:~/testing/analysis$ 

进行了一些阅读,但很难找到运行此命令的解决方案--认为它与命令的-R选项中的嵌套‘有关.有办法逃过这些吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-05-05 14:01:16

Perl没有sys 函数。你是说系统

另外,语法高亮符对于引号是正确的。R'@RG中的引号结束了第一个单引号字符串,这似乎不正确。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37052402

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档