Skip to content

Commit 5e7bf8b

Browse files
committed
[bugfix] depth_qc of due to chromsize post-process
- bad processing of header with only accession IDs
1 parent 1a4c7a5 commit 5e7bf8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/rules/mafs.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ rule chromsize:
6161
r"""
6262
{params.CHROMSIZE} --fasta "{input}" --output "{output.tmp}" \
6363
> "{log.outfile}" 2> >(tee "{log.errfile}" >&2)
64-
sed -E 's@^([^ ]+)[^\t]+@\1@g' "{output.tmp}" > "{output.chrom_size}" \
64+
sed -E 's@^([^ \t]+)[^\t]*@\1@g' "{output.tmp}" > "{output.chrom_size}" \
6565
2> >(tee -a "{log.errfile}" >&2)
6666
"""
6767

0 commit comments

Comments
 (0)