We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40db9a5 commit 6f8a372Copy full SHA for 6f8a372
modules/local/igv.nf
@@ -30,8 +30,11 @@ process IGV {
30
# Avoid error when consensus not produced
31
find * -type l -name "*.bed" -exec echo -e ""{}"\\t0,0,178" \\; | { grep "^$consensus_dir" || test \$? = 1; } > consensus.igv.txt
32
33
- cat mappings/* > replace_paths.txt
34
-
+ touch replace_paths.txt
+ if [ -d "mappings" ]; then
35
+ cat mappings/* > replace_paths.txt
36
+ fi
37
+
38
cat *.igv.txt > igv_files_orig.txt
39
igv_files_to_session.py igv_session.xml igv_files_orig.txt replace_paths.txt ../../genome/${fasta.getName()} --path_prefix '../../'
40
0 commit comments