To compile a program using these libraries: --------------------------------------------- setenv SEQHOUND $BIRCH/java/seqhound setenv SHJARPATH "$SEQHOUND/seqhound.jar:$SEQHOUND/commons-httpclient-2.0.jar:$SEQHOUND/commons-mpfogging-api.jar" setenv CLASSPATH "$SHJARPATH":. setenv CLASSPATH "$SHJARPATH":$BIRCH/java/Leash/Leash.jar:. javac leash.java Note: the classes and .jar files used by SeqHound 1.5 were different, so leash won't work with SeqHound 1.5 To run a program using these libraries: --------------------------------------- You need to have .shoundremrc in the directory in which the program is launched. Probably we should re-write seqhoundlib/SeqHound.java to look for this file in $HOME, or in a location specified by an environment variable. java -jar ./Leash.jar -mn java -jar ./Leash.jar -mn SHound3DExists -mpi 4534 java -jar ./Leash.jar -mn SHoundIsNRFirst -mpi 4534 java -jar ./Leash.jar -mn SHoundIsProtein -mpi 7532409 java -jar ./Leash.jar -mn SHoundExists -mpi 41629670 java -jar ./Leash.jar -mn SHoundProteinFromDNA -mpi 4646 java -jar ./Leash.jar -mn SHoundAllGenomes -of outfile java -jar ./Leash.jar -mn SHoundProteinFromDNA -mpi 6598330 -of prot.gi // a short seq. java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 4646 -of outfile // A bac clone, AC002329 java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 14595407 -of 14595407.gen java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 21541293 -of 21541293.gen java -jar ./Leash.jar -mn SHoundGetGenBankffList -mpi 14595407,21541293 -of both.gen java -jar ./Leash.jar -mn SHoundGetFastaList -mpi 14595407,21541293 -of both.fsa // Possible error isn SeqHound 2.5 java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 6598330 -of outfile // Yeast chromosomes II (>800kb), III (>315kb) and IV (>1500kb) java -jar ./Leash.jar -mn SHoundFindAcc -mpi NC_001134 java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 41629670 -of NC_001134.gen java -jar ./Leash.jar -mn SHoundFindAcc -mpi NC_001135 java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 42759850 -of NC_001135.gen java -jar ./Leash.jar -mn SHoundFindAcc -mpi NC_001136 java -jar ./Leash.jar SHoundGetGenBankff -mpi 42742056 -of NC_001136.gen Exception in thread "main" java.lang.NullPointerException at leash.WriteStr(leash.java:171) at leash.LSHoundGetGenBankff(leash.java:231) at leash.main(leash.java:276) Fetch also fails to retrieve this seq. java -jar ./Leash.jar -mn SHoundGetGenBankff -mpi 16127994 -of NC_000913.gen java -jar ./Leash.jar -mn SHoundGetFastaList -mpf gilist outfile.fsa java -jar ./Leash.jar -mn SHoundGetGenBankffList -mpf gilist -of outfile.gen java -jar ./Leash.jar -mn SHoundSequenceLength -mpf gilist -of outfile.len java -jar ./Leash.jar -mn SHoundFindAccList -mpf acclist -of gilist java -jar ./Leash.jar -mn SHoundFindAcc -mpi CAA28783 java -jar ./Leash.jar -mn SHoundFindAcc -mpi AC002329 java -jar ./Leash.jar -mn SHoundAccFromGi -mpi 6598330 java -jar ./Leash.jar -mn SHoundFindAcc -mpi XXXXXXX java -jar ./Leash.jar -mn SHoundFindAccList -mpf acclist java -jar ./Leash.jar -mn SHoundAccFromGiList -mpf gilist -of acclist java -jar ./Leash.jar -mn SHoundFindAcc -mpi CAA28783 java -jar ./Leash.jar -mn SHoundGetTaxLineageFromTaxID -mpi 170187 -mpi SHoundGetTaxLineage_FULL java -jar ./Leash.jar -mn SHoundGetTaxNameFromTaxID -mpi 170187 java -jar ./Leash.jar -mn SHoundSequenceLength -mpi 41629670 // Methods that return a Hashtable java -jar ./Leash.jar -mn SHoundGetFastaKeyedList -mpf gilist -of hashtable java -jar ./Leash.jar -mn SHoundGetFastaKeyedList -mpf prot.gi -of hashtable