nunofonseca / irap

integrated RNA-seq Analysis Pipeline
GNU General Public License v3.0
82 stars 33 forks source link

Deal with the case of a single single-cell SDRF #76

Closed pinin4fjords closed 6 years ago

pinin4fjords commented 6 years ago

This is a trivial PR to deal with the edge case of a single single-cell .sdrf file. The changed line uses grep to identify files with a matching string, and extract the file name from the results. Unfortunately grep does't return this info when grep'ing a single file- unless you add '-H' as applied here.