forked from forkwell-io/fch-drug-discovery
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbinding.ps1
More file actions
22 lines (20 loc) · 763 Bytes
/
binding.ps1
File metadata and controls
22 lines (20 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$path = "./output"
If(!(test-path $path))
{
New-Item -ItemType Directory -Force -Path $path
echo "Created new folder"
}
Get-ChildItem -File "*.pdbqt" | Foreach {
echo "Processing for file $($_.name)"
./vina.exe --config "./importantStuff/conf.txt" --ligand $_.name --out "./output/$($_.name)_out"
}
echo""
echo " _____ _ _ _ "
echo "/ __ \ | | | | | |"
echo "| / \/ ___ _ __ ___ _ __ | | ___| |_ ___| |"
echo "| | / _ \| '_ ` _ \| '_ \| |/ _ \ __/ _ \ |"
echo "| \__/\ (_) | | | | | | |_) | | __/ || __/_|"
echo " \____/\___/|_| |_| |_| .__/|_|\___|\__\___(_)"
echo " | | "
echo " |_| "
echo ""