Skip to content

Commit

Permalink
run_MUSIC script SAM file fix
Browse files Browse the repository at this point in the history
run_MUSIC script SAM file fix
  • Loading branch information
ozgunharmanci committed Mar 8, 2016
1 parent c24c039 commit c5c65c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/run_MUSIC.csh
Expand Up @@ -37,7 +37,16 @@ then
elif [[ "$read_file_name" == *.bowtie.gz ]]
then
gzip -cd $2 | MUSIC -preprocess bowtie stdin $output_dir
elif [[ "$read_file_name" == *.sam ]]
then
cat $2 | MUSIC -preprocess SAM stdin $output_dir
elif [[ "$read_file_name" == *.SAM ]]
then
cat $2 | MUSIC -preprocess SAM stdin $output_dir
elif [[ "$read_file_name" == *.bam ]]
then
samtools view $2 | MUSIC -preprocess SAM stdin $output_dir
elif [[ "$read_file_name" == *.BAM ]]
then
samtools view $2 | MUSIC -preprocess SAM stdin $output_dir
fi
Expand Down

0 comments on commit c5c65c3

Please sign in to comment.