File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010mkdir 'mapping' &&
1111#if $mode.type == 'individual'
1212 #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.bamfile))
13- ln -s '$mode.bamfile' 'mapping/${identifier}.sorted.bam' &&
14- samtools index 'mapping/${identifier}.sorted.bam' 'mapping/${identifier}.bam.bai' &&
15- mv 'mapping/${identifier}.sorted.bam' 'mapping/${identifier}.bam' &&
13+ ln -s '$mode.bamfile' 'mapping/${identifier}.bam' &&
14+ ln -s '$mode.bamfile.metadata.bam_index' 'mapping/${identifier}.bam.bai'
1615#else
1716 #for $e in $mode.bamfiles
1817 #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($e.element_identifier))
19- ln -s '$e' 'mapping/${identifier}.sorted.bam' &&
20- samtools index 'mapping/${identifier}.sorted.bam' 'mapping/${identifier}.bam.bai' &&
21- mv 'mapping/${identifier}.sorted.bam' 'mapping/${identifier}.bam' &&
18+ ln -s '$e' 'mapping/${identifier}.bam' &&
19+ ln -s '$e.metadata.bam_index' 'mapping/${identifier}.bam.bai' &&
2220 #end for
2321#end if
2422concoct_coverage_table.py
You can’t perform that action at this time.
0 commit comments