更多代码请见:​​https://github.com/xubo245/AdamLearning​

1解释
bdg-formats是在spark平台上用avro定义的基因处理的数据格式,包括read、sam、vcf、databaseannotion在云平台上的格式,主要用于Adam系统中

2.代码:
【2】下载
编译:

mvn clean package -DskipTests

3.结果:

[WARNING] 
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Unrecognised tag: 'profile' (position: START_TAG seen ... variables for plugins in the POM.\n |\n |-->\n \t\t\t<profile>... @184:16) @ D:\1win7\java\apache-maven-3.3.9-bin\apache-maven-3.3.9\conf\settings.xml, line 184, column 16
[WARNING]
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Big Data Genomics: Avro Formats 0.6.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bdg-formats ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ bdg-formats ---
[INFO]
[INFO] --- avro-maven-plugin:1.7.4:schema (schemas) @ bdg-formats ---
[INFO]
[INFO] --- avro-maven-plugin:1.7.4:protocol (schemas) @ bdg-formats ---
[INFO]
[INFO] --- avro-maven-plugin:1.7.4:idl-protocol (schemas) @ bdg-formats ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bdg-formats ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bdg-formats ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to D:\all\idea\bdg-formats-bdg-formats-0.6.1\target\classes
[WARNING] /D:/all/idea/bdg-formats-bdg-formats-0.6.1/target/generated-sources/avro/org/bdgenomics/formats/avro/Feature.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /D:/all/idea/bdg-formats-bdg-formats-0.6.1/target/generated-sources/avro/org/bdgenomics/formats/avro/Feature.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bdg-formats ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\all\idea\bdg-formats-bdg-formats-0.6.1\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bdg-formats ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bdg-formats ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bdg-formats ---
[INFO] Building jar: D:\all\idea\bdg-formats-bdg-formats-0.6.1\target\bdg-formats-0.6.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.250 s
[INFO] Finished at: 2016-05-29T16:06:23+08:00
[INFO] Final Memory: 15M/112M
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0

参考
【1】​​​https://github.com/bigdatagenomics​​​
【2】​​​https://github.com/bigdatagenomics/bdg-formats​​​
【3】​​​https://github.com/xubo245/AdamLearning​