File: test_minimal_example.sh

package info (click to toggle)
subread 2.0.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 76,856 kB
  • sloc: ansic: 52,336; sh: 443; python: 126; makefile: 67
file content (44 lines) | stat: -rw-r--r-- 1,579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
mkdir -p result
cat <<EOF > /dev/null
 The options in the command lines below are:
  -a : annotation file (GTF by default)
  -F : annotation format (GTF by default)
  -A : chromosome alias file
  -i : input file for reads (SAM by default)
  -b : input file is in the BAM format
  -o : output file
  -p : paired-end assignment
  -f : feature-level (exon level) assignment
  -O : allowing a read to overlap with multi features 
  -S : resorting the input SAM or BAM file
  -T : threads for assignment
  -d and -D : minimum and maximum allowed template lengths
  -B : both ends must be mapped in a paired-end fragment
  -C : no chimeric fragments are allowed
  -M : multi-mapping reads reported by the aligner are allowed

 More options are available. Reference to the user guide for the full option list.

EOF


echo
echo "================================================================================"
printf " FeatureCounts Basic Test\n http://subread.sourceforge.net/\n"
echo "================================================================================"
echo



rm -f data/test-minimum.log
# ================================================================================
# The minimum runnable test
../../bin/featureCounts -p -a data/test-minimum.GTF -o result/test-minimum.FC data/test-minimum.sam 

echo "================================================================================"
echo "Basic Test finished."
echo "The results are in result/test-minimum.FC"
echo "================================================================================"
echo
echo
echo