We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9496e6 commit e6a745cCopy full SHA for e6a745c
1 file changed
workflow/rules/isoformswitchanalyzer.smk
@@ -263,10 +263,8 @@ rule isoformswitchanalyzer_mkgroups:
263
# Nth column(s) = Covariates
264
# Create header for file, IsoformSwitchAnalyzeR
265
# expects the certain column names in design file
266
- paste \\
267
- <(head -1 {input.sample_sheet} | cut -f1 | sed 's/Sample/sampleID/') \\
268
- <(head -1 {input.sample_sheet} | cut -f2 | sed 's/Group/condition/') \\
269
- <(head -1 {input.sample_sheet} | cut -f3-) \\
+ awk -F '\\t' -v OFS='\\t' \\
+ 'NR==1 {{$1="sampleID"; $2="condition"; print}}' \\
270
> {output.grp}
271
# Create sample sheet for IsoformSwitchAnalyzeR
272
awk -F '\\t' -v OFS='\\t' \\
0 commit comments