bash - Command in yml file doesn't function standard output -


i have command line a in abc.yml file such like:

- #determine sum total size of regions in bed file                                                                                                                                           cmd: "{bedtools} genomecov -i {capture} -g {chrsize} -max 1 >{out_dir}{id}.insert.size" 

all files in {} have been predefined , command equivalent b:

/usr/bin/bedtools genomecov -i ./data/cl1_freedman_w_capture_targets.bed \ -g ./code/roche_qc/data/chormosome_sizes.txt \ -max 1 >./code/roche_qc/tmp/ad-s3_s3/ad-s3_s3.insert.size 

however able run b command in terminal when execute command line in abc.yml file, shows error as:

*****error: unrecognized parameter: >./code/roche_qc/tmp/ad-s1_s1/ad-s1_s1.insert.size ***** 

my question why standard out command > wasn't recognized in command a.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -