Skip to content

(partition_bam_reads) Error: line number 29869383 of file - has 3 fields, but 6 were expected. #5

@byee4

Description

@byee4

Hitting an error in partition_bam_reads:

rule partition_bam_reads:
    input: inputs/star_2_7_gencode40_sjdb/chrNameLength.txt, output/bams/dedup/genome/IP.genome.Aligned.sort.dedup.bam, annotations/gencode.v38.annotation.tiled_partition.bed.gz
    output: output/counts/genome/vectors/IP.counts
    jobid: 0
    benchmark: benchmarks/counts/unassigned_experiment.IP.partition_bam_reads.txt
    reason: Forced execution
    wildcards: replicate_label=IP
    resources: mem_mb=6599, disk_mb=6599, tmpdir=/scratch/bay001/30691944.tscc-mgr7.local

bedtools bamtobed -i output/bams/dedup/genome/IP.genome.Aligned.sort.dedup.bam | awk '($1 != "chrEBV") && ($4 !~ "/2$")' | bedtools flank -s -l 1 -r 0 -g inputs/star_2_7_gencode40_sjdb/chrNameLength.txt -i - | bedtools shift -p 1 -m -1 -g inputs/star_2_7_gencode40_sjdb/chrNameLength.txt -i - | bedtools sort -i - | bedtools coverage -counts -s -a annotations/gencode.v38.annotation.tiled_partition.bed.gz -b - | cut -f 7 | awk 'BEGIN {print "IP"} {print}' > output/counts/genome/vectors/IP.counts;
Error: line number 29869383 of file - has 3 fields, but 6 were expected.
[Fri Feb  3 17:24:31 2023]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions