-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_usage.sh
More file actions
executable file
·63 lines (53 loc) · 2.21 KB
/
example_usage.sh
File metadata and controls
executable file
·63 lines (53 loc) · 2.21 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
################################################################################
# Example Usage Script
# Demonstrates various ways to use window_those_genomes.sh
################################################################################
echo "==================================="
echo "Genome Window Generator - Examples"
echo "==================================="
echo ""
# Example 1: Download human genome with default windows
echo "Example 1: Download human genome with default windows (1kb, 5kb, 10kb, 15kb, 20kb, 25kb)"
echo "Command: ./window_those_genomes.sh --species Homo_sapiens"
echo ""
read -p "Press Enter to continue..."
echo ""
# Example 2: Download mouse genome with custom windows
echo "Example 2: Download mouse genome with custom window sizes"
echo "Command: ./window_those_genomes.sh --species Mus_musculus --windows 1000,5000,10000"
echo ""
read -p "Press Enter to continue..."
echo ""
# Example 3: Use UCSC database
echo "Example 3: Download from UCSC instead of Ensembl"
echo "Command: ./window_those_genomes.sh --species Homo_sapiens --database ucsc"
echo ""
read -p "Press Enter to continue..."
echo ""
# Example 4: Process existing files
echo "Example 4: Process existing genome files without downloading"
echo "Command: ./window_those_genomes.sh --input ./genomes --output ./custom_output"
echo ""
read -p "Press Enter to continue..."
echo ""
# Example 5: Dry run
echo "Example 5: Preview commands without executing (dry-run mode)"
echo "Command: ./window_those_genomes.sh --species Homo_sapiens --dry-run"
echo ""
read -p "Press Enter to continue..."
echo ""
echo "==================================="
echo "Ready to run!"
echo "==================================="
echo ""
echo "To run any of these examples, uncomment the corresponding line below:"
echo ""
# Uncomment one of these to run:
# ./window_those_genomes.sh --species Homo_sapiens
# ./window_those_genomes.sh --species Mus_musculus --windows 1000,5000,10000
# ./window_those_genomes.sh --species Homo_sapiens --database ucsc
# ./window_those_genomes.sh --input ./genomes --output ./custom_output
# ./window_those_genomes.sh --species Homo_sapiens --dry-run
echo "Or run with --help to see all options:"
echo "./window_those_genomes.sh --help"