Skip to content

count.sh #54

@GoogleCodeExporter

Description

@GoogleCodeExporter
-hello, 

your program count.sh returns nothing to me:cat out.sam | cut -f 3 | sort | 
./count.sh | more 

#!/bin/bash 
function count {
 iFileN=$1 
geneN=''
 let mapCount=0 
exec < $iFileN 
while read line
 do if [$geneN == $line ];
 then let mapCount=mapCount+1
 else echo $geneN $mapCount 
let mapCount=1
 geneN=$line 
fi done 
} 

something missing ? 

thank u 



Original issue reported on code.google.com by lmanc...@univ-montp2.fr on 13 Feb 2013 at 11:18

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions