Skip to content

Commit

Permalink
Fix the parser to integrate sourmash properly
Browse files Browse the repository at this point in the history
  • Loading branch information
RVanDamme authored Nov 24, 2020
1 parent 8ee842c commit ea5e452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/checkm_sourmash_parser.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process sourmash_checkm_parser {
shell:
"""
grep -v "] INFO: " !{checkm} | grep -v "\\-\\-\\-\\-\\-\\-\\-" | grep -v "Bin Id" | sed -e 's/^[ \\t]*//'|sed 's/[ \\t]*\$//' |sed -r 's/ +/,/g'|sed '/^\$/d' >checkm.csv
for file in ${sourmash}; do tail -n 1 \$file | sed -e 's/.fa//' >>sourmash.csv; done
for file in \$(ls bin*.txt); do tail -n 1 \$file | sed -e 's/.fa//' >>sourmash.csv; done
checkm_sourmash_parser.py -c checkm.csv -s sourmash.csv
"""
}
}

0 comments on commit ea5e452

Please sign in to comment.